/* assets/css/style.css */
:root {
    /* Premium Color Palette */
    --clr-navy: #0F172A;
    --clr-navy-light: #1E293B;
    --clr-green: #10B981;
    --clr-green-hover: #059669;
    --clr-gold: #F59E0B;
    --clr-white: #FFFFFF;
    --clr-light: #F8FAFC;
    --clr-gray: #E2E8F0;
    --clr-text: #334155;
    --clr-text-muted: #64748B;
    
    /* Typography */
    --font-sys: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Spacing & Layout */
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 15px 30px -5px rgba(15, 23, 42, 0.1);
    --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-sys); color: var(--clr-text); background: var(--clr-white); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Utilities */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.bg-light { background-color: var(--clr-light); }
.bg-navy { background-color: var(--clr-navy); color: var(--clr-white); }
.text-white { color: var(--clr-white); }
.text-gradient { background: linear-gradient(135deg, var(--clr-green), #34D399); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.grid { display: grid; gap: 24px; }
.d-none { display: none !important; }

/* Typography */
h1, h2, h3, h4 { color: var(--clr-navy); font-weight: 700; line-height: 1.2; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-title { font-size: 2.5rem; margin-bottom: 16px; letter-spacing: -0.02em; }
.section-subtitle { font-size: 1.125rem; color: var(--clr-text-muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 1rem; border: none; cursor: pointer; transition: var(--transition); text-align: center; min-height: 44px; }
.btn-primary { background: var(--clr-green); color: var(--clr-white); }
.btn-primary:hover { background: var(--clr-green-hover); transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-secondary { background: rgba(255,255,255,0.1); color: var(--clr-white); border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(10px); }
.btn-secondary:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--clr-green); border: 2px solid var(--clr-green); }
.btn-outline:hover { background: var(--clr-green); color: var(--clr-white); }
.btn-lg { padding: 16px 32px; font-size: 1.125rem; border-radius: var(--radius-md); }
.btn-full { width: 100%; }

/* 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 transparent; transition: var(--transition); height: 80px; display: flex; align-items: center; }
.navbar.scrolled { border-bottom-color: var(--clr-gray); box-shadow: var(--shadow-sm); }
.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; gap: 8px; color: var(--clr-navy); }
.logo-accent { width: 12px; height: 12px; background: var(--clr-green); border-radius: 50%; display: inline-block; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-item { font-weight: 500; font-size: 0.95rem; color: var(--clr-text); transition: var(--transition); }
.nav-item:hover { color: var(--clr-green); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.hamburger { display: none; background: none; border: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; z-index: 1001; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--clr-navy); transition: var(--transition); }

/* Hero Section */
.hero { padding: 160px 0 100px; background: var(--clr-navy); position: relative; overflow: hidden; }
.hero::before { content:''; position:absolute; top:-50%; left:-50%; width:200%; height:200%; background: radial-gradient(circle, rgba(16,185,129,0.1) 0%, rgba(15,23,42,0) 50%); z-index: 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-content { color: var(--clr-white); }
.badge-group { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.badge { font-size: 0.85rem; font-weight: 600; padding: 4px 12px; border-radius: 50px; }
.badge-outline { border: 1px solid rgba(255,255,255,0.2); color: var(--clr-gold); background: rgba(245, 158, 11, 0.1); }
.hero h1 { color: var(--clr-white); font-size: 3.5rem; letter-spacing: -0.03em; margin-bottom: 20px; }
.hero-desc { font-size: 1.25rem; color: #94A3B8; margin-bottom: 40px; max-width: 90%; }
.hero-cta { display: flex; gap: 16px; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 40px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 32px; }
.stat-value { display: block; font-size: 1.75rem; font-weight: 800; color: var(--clr-white); margin-bottom: 4px; }
.stat-label { font-size: 0.9rem; color: #94A3B8; }

/* CSS Diagnostic Card Illustration */
.hero-visual { position: relative; }
.diagnostic-card { background: rgba(30, 41, 59, 0.7); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 24px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); position: relative; overflow: hidden; }
.diagnostic-card::before { content:''; position:absolute; top:0; left:0; right:0; height:4px; background: linear-gradient(90deg, var(--clr-green), var(--clr-gold)); }
.diag-header { display: flex; align-items: center; margin-bottom: 24px; }
.diag-dots { display: flex; gap: 6px; margin-right: 16px; }
.diag-dots span { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.diag-dots span:nth-child(1) { background: #EF4444; }
.diag-dots span:nth-child(2) { background: #F59E0B; }
.diag-dots span:nth-child(3) { background: #10B981; }
.diag-title { color: var(--clr-white); font-weight: 600; font-family: monospace; font-size: 0.9rem; letter-spacing: 1px; }
.diag-status { display: flex; align-items: center; gap: 10px; background: rgba(16, 185, 129, 0.1); color: var(--clr-green); padding: 12px; border-radius: 8px; font-weight: 500; font-size: 0.9rem; margin-bottom: 24px; }
.diag-status svg { width: 20px; height: 20px; animation: spin 2s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }
.progress-group { margin-bottom: 16px; }
.progress-label { display: flex; justify-content: space-between; font-size: 0.85rem; color: #94A3B8; margin-bottom: 8px; font-family: monospace; }
.progress-bar { width: 100%; height: 6px; background: #334155; border-radius: 10px; overflow: hidden; }
.fill { height: 100%; border-radius: 10px; transition: width 1s ease; }
.fill.success { background: var(--clr-green); }
.fill.warning { background: var(--clr-gold); }
.fill.danger { background: #EF4444; }
.diag-action { margin-top: 32px; border-top: 1px dashed rgba(255,255,255,0.1); padding-top: 24px; }
.action-btn { background: rgba(239, 68, 68, 0.1); color: #EF4444; text-align: center; padding: 12px; border-radius: 8px; font-weight: 600; font-size: 0.9rem; border: 1px solid rgba(239, 68, 68, 0.2); }

/* Services */
.cards-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.service-card { background: var(--clr-white); border: 1px solid var(--clr-gray); border-radius: var(--radius-md); padding: 32px; transition: var(--transition); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--clr-green); }
.card-icon { width: 48px; height: 48px; color: var(--clr-green); background: rgba(16, 185, 129, 0.1); border-radius: 12px; padding: 10px; margin-bottom: 20px; }
.card-category { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; color: var(--clr-gold); letter-spacing: 1px; display: block; margin-bottom: 8px; }
.card-title { font-size: 1.25rem; margin-bottom: 12px; }
.card-desc { color: var(--clr-text-muted); margin-bottom: 24px; font-size: 0.95rem; }
.card-list li { position: relative; padding-left: 24px; margin-bottom: 8px; font-size: 0.9rem; color: var(--clr-text); font-weight: 500; }
.card-list li::before { content: ''; position: absolute; left: 0; top: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--clr-green); }

/* Workflow Timeline */
.timeline-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.timeline-item { position: relative; padding: 24px; background: var(--clr-light); border-radius: var(--radius-md); border: 1px solid var(--clr-gray); transition: var(--transition); }
.timeline-item:hover { background: var(--clr-white); box-shadow: var(--shadow-md); border-color: var(--clr-navy); }
.timeline-num { font-size: 2.5rem; font-weight: 800; color: var(--clr-gray); margin-bottom: 16px; line-height: 1; transition: var(--transition); }
.timeline-item:hover .timeline-num { color: var(--clr-green); }
.timeline-title { font-size: 1.1rem; margin-bottom: 8px; }
.timeline-desc { font-size: 0.9rem; color: var(--clr-text-muted); }

/* Before After */
.ba-grid { grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--clr-white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--clr-gray); }
.ba-card { padding: 40px; }
.ba-card.before { background: #FEF2F2; }
.ba-card.after { background: #ECFDF5; }
.ba-header { font-size: 1.5rem; font-weight: 800; margin-bottom: 24px; }
.before .ba-header { color: #991B1B; }
.after .ba-header { color: #065F46; }
.ba-list li { margin-bottom: 16px; font-weight: 500; display: flex; align-items: flex-start; gap: 12px; }
.before .ba-list li::before { content: '✕'; color: #EF4444; font-weight: bold; }
.after .ba-list li::before { content: '✓'; color: var(--clr-green); font-weight: bold; }

/* Advantages */
.adv-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.adv-item { display: flex; gap: 16px; align-items: flex-start; }
.adv-check { flex-shrink: 0; width: 24px; height: 24px; color: var(--clr-green); margin-top: 4px; }
.adv-title { font-size: 1.1rem; margin-bottom: 8px; }
.adv-desc { font-size: 0.95rem; color: var(--clr-text-muted); }

/* Pricing */
.pricing-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: center; }
.price-card { background: var(--clr-navy-light); padding: 40px 32px; border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.1); text-align: center; position: relative; }
.price-card.popular { background: var(--clr-white); color: var(--clr-navy); transform: scale(1.05); z-index: 2; border: 2px solid var(--clr-green); }
.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--clr-green); color: var(--clr-white); font-size: 0.8rem; font-weight: 700; padding: 4px 16px; border-radius: 20px; text-transform: uppercase; letter-spacing: 1px; }
.price-card.popular h3, .price-card.popular .price-value { color: var(--clr-navy); }
.price-card.popular .price-desc { color: var(--clr-text-muted); }
.price-card.popular .price-features li { color: var(--clr-text); }
.price-name { font-size: 1.25rem; color: var(--clr-white); margin-bottom: 16px; }
.price-value { font-size: 2.5rem; font-weight: 800; color: var(--clr-white); margin-bottom: 16px; }
.price-desc { font-size: 0.95rem; color: #94A3B8; margin-bottom: 32px; }
.price-features { text-align: left; margin-bottom: 32px; }
.price-features li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 0.95rem; color: #E2E8F0; }
.price-features svg { width: 18px; height: 18px; color: var(--clr-green); flex-shrink: 0; }

/* Testimonials */
.test-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.test-card { background: var(--clr-white); padding: 32px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--clr-gray); display: flex; flex-direction: column; justify-content: space-between; }
.test-quote { font-size: 1rem; font-style: italic; color: var(--clr-text); margin-bottom: 24px; position: relative; }
.test-author { border-top: 1px solid var(--clr-gray); padding-top: 16px; }
.test-author strong { display: block; color: var(--clr-navy); }
.test-author span { font-size: 0.85rem; color: var(--clr-text-muted); }

/* FAQ */
.faq-wrapper { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: var(--clr-white); border: 1px solid var(--clr-gray); border-radius: var(--radius-md); overflow: hidden; }
.faq-question { width: 100%; text-align: left; padding: 20px 24px; background: none; border: none; font-size: 1.05rem; font-weight: 600; color: var(--clr-navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: inherit; }
.faq-icon { width: 24px; height: 24px; transition: transform 0.3s ease; color: var(--clr-green); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { padding: 0 24px 20px; color: var(--clr-text-muted); }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-item.active .faq-answer { max-height: 200px; } /* Atur jika teks kepanjangan */

/* Contact Section */
.contact-box { background: var(--clr-white); border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-columns: 1fr 1.2fr; box-shadow: var(--shadow-lg); border: 1px solid var(--clr-gray); }
.contact-info { background: var(--clr-navy); color: var(--clr-white); padding: 48px; }
.contact-info h2 { color: var(--clr-white); margin-bottom: 16px; }
.contact-info p { color: #94A3B8; margin-bottom: 40px; }
.info-list { display: flex; flex-direction: column; gap: 24px; }
.info-item { display: flex; align-items: center; gap: 16px; font-size: 1.05rem; }
.info-item svg { width: 24px; height: 24px; color: var(--clr-green); }
.contact-form-container { padding: 48px; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; color: var(--clr-navy); }
input, select, textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--clr-gray); border-radius: var(--radius-md); font-family: inherit; font-size: 1rem; color: var(--clr-text); transition: var(--transition); background: var(--clr-light); outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--clr-green); background: var(--clr-white); box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1); }
textarea { resize: vertical; min-height: 100px; }
.alert { padding: 16px; border-radius: var(--radius-md); margin-bottom: 20px; font-size: 0.9rem; font-weight: 600; }
.alert.success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.alert.error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

/* Final CTA & Footer */
.final-cta { padding: 80px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer { background: var(--clr-navy); color: var(--clr-white); padding: 80px 0 0; }
.footer-grid { grid-template-columns: 2fr 1fr 1fr; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 60px; margin-bottom: 0; }
.footer-brand h3 { color: var(--clr-white); font-size: 1.5rem; margin-bottom: 16px; }
.footer-brand p { color: #94A3B8; max-width: 300px; }
.footer-links h4, .footer-contact h4 { color: var(--clr-white); font-size: 1.1rem; margin-bottom: 24px; }
.footer-links a { display: block; color: #94A3B8; margin-bottom: 12px; transition: var(--transition); }
.footer-links a:hover { color: var(--clr-green); }
.footer-contact p { color: #94A3B8; margin-bottom: 12px; }
.footer-bottom { background: #0B1120; padding: 24px 0; text-align: center; color: #64748B; font-size: 0.9rem; }

/* Floating WhatsApp */
.floating-wa { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background: #25D366; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); z-index: 999; transition: var(--transition); }
.floating-wa svg { width: 35px; height: 35px; }
.floating-wa:hover { transform: scale(1.1); box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); }

/* Animations */
.reveal-up { opacity: 0; transform: translateY(40px); transition: 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal-up.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive Mobile First Tweaks */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero h1 { font-size: 2.8rem; }
    .hero-desc { margin: 0 auto 32px; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    .badge-group { justify-content: center; }
    .ba-grid { grid-template-columns: 1fr; }
    .contact-box { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .price-card.popular { transform: scale(1); }
}

@media (max-width: 768px) {
    .d-none-mobile { display: none; }
    .hamburger { display: flex; }
    .nav-links { position: fixed; top: 80px; left: -100%; width: 100%; background: var(--clr-white); flex-direction: column; padding: 24px; box-shadow: var(--shadow-md); transition: 0.4s ease; border-top: 1px solid var(--clr-gray); }
    .nav-links.active { left: 0; }
    .nav-item { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--clr-gray); display: block; }
    
    .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .section { padding: 60px 0; }
    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 2.2rem; }
    .hero-cta { flex-direction: column; }
    .hero-stats { flex-direction: column; gap: 20px; align-items: center; }
    .form-row { grid-template-columns: 1fr; }
    .contact-info, .contact-form-container { padding: 32px 24px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { margin: 0 auto; }
}

@media (max-width: 480px) {
    .section-title { font-size: 2rem; }
    .card { padding: 24px; }
    .floating-wa { bottom: 20px; right: 20px; width: 50px; height: 50px; }
    .floating-wa svg { width: 30px; height: 30px; }
}