/* === 1. SETUP & VARIABLES === */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Warna Bisnis Utama */
    --primary: #4F46E5;       
    --primary-dark: #4338CA;  
    --secondary: #0F172A;     
    --text-body: #475569;     
    --bg-light: #F8FAFC;      
    --white: #FFFFFF;
    
    /* Warna Futuristik (Yani AI & Form) */
    --neon-blue: #00f3ff;
    --neon-purple: #bd00ff;
    --bg-tech-dark: #050a14;
    --bg-tech-card: rgba(13, 20, 35, 0.95);
    --online-green: #22c55e;
    
    --grad-hero: linear-gradient(135deg, #F1F5F9 0%, #E0E7FF 100%);
    --shadow-soft: 0 4px 20px rgba(0,0,0,0.05);
    --shadow-hover: 0 15px 30px rgba(79, 70, 229, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background-color: var(--bg-light); color: var(--text-body); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; object-fit: cover; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* === 2. NAVBAR & HEADER === */
.navbar { 
    position: fixed; top: 0; width: 100%; z-index: 9999; 
    padding: 12px 0; background: rgba(255, 255, 255, 0.98); 
    backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,0,0,0.05); 
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }

.logo { 
    display: flex; align-items: center; gap: 10px; 
    text-decoration: none; height: 50px; 
}
.logo img { 
    height: 45px !important; 
    width: auto; 
    object-fit: contain; 
}
.logo span { 
    font-weight: 800; font-size: 24px; color: var(--secondary); 
    line-height: 1; 
}

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-weight: 600; color: var(--secondary); font-size: 15px; position: relative; }
.nav-links a:hover { color: var(--primary); }

/* --- DROPDOWN MENU DESKTOP --- */
.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    cursor: pointer;
}
.nav-item-dropdown:hover .dropdown-trigger { color: var(--primary); }
.dropdown-trigger i { font-size: 12px; margin-left: 4px; transition: 0.3s; }

.dropdown-menu {
    position: absolute;
    top: 100%; left: -20px;
    width: 260px; /* Lebar dropdown */
    background: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    padding: 10px 0;
    opacity: 0; visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 10000;
}
.dropdown-menu::before { /* Panah kecil di atas */
    content: ''; position: absolute; top: -6px; left: 40px;
    width: 12px; height: 12px; background: white;
    transform: rotate(45deg); border-left: 1px solid rgba(0,0,0,0.05); border-top: 1px solid rgba(0,0,0,0.05);
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-item-dropdown:hover .dropdown-trigger i { transform: rotate(180deg); }

.dropdown-menu a {
    display: block; padding: 12px 20px;
    color: var(--text-body); font-size: 14px; font-weight: 500;
    border-bottom: 1px solid #F8FAFC; transition: 0.2s;
}
.dropdown-menu a:hover { background: #F8FAFC; color: var(--primary); padding-left: 25px; }
.dropdown-menu a:last-child { border-bottom: none; }

/* Tombol Menu Yani AI Desktop */
.btn-nav-ai { 
    background: linear-gradient(135deg, var(--secondary), var(--primary)); 
    color: white !important; padding: 8px 20px; border-radius: 50px; 
    display: flex; align-items: center; gap: 8px; font-size: 14px;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}
.btn-nav-ai:hover { transform: translateY(-2px); box-shadow: 0 0 15px rgba(0, 243, 255, 0.4); }

/* Burger Menu */
.burger { display: none; flex-direction: column; justify-content: space-between; width: 28px; height: 20px; background: transparent; border: none; cursor: pointer; z-index: 10001; }
.burger span { display: block; width: 100%; height: 3px; background-color: #0F172A; border-radius: 3px; transition: 0.3s; }

/* Mobile Menu */
.mobile-menu { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: white; z-index: 9998; padding: 80px 30px; box-shadow: -5px 0 50px rgba(0,0,0,0.1); transition: 0.4s; display: flex; flex-direction: column; overflow-y: auto; }
.mobile-menu.open { right: 0; }
.mobile-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; border-bottom: 1px solid #F1F5F9; padding-bottom: 15px; }
.close-btn { font-size: 30px; border:none; background:none; cursor: pointer; }
.mobile-links li { margin-bottom: 20px; border-bottom: 1px solid #F8FAFC; padding-bottom: 10px; }
.mobile-links a { font-size: 16px; font-weight: 600; color: var(--secondary); display: block; }

/* --- DROPDOWN MENU MOBILE --- */
.mobile-dropdown-menu {
    display: none; background: #F8FAFC; border-radius: 12px; margin-top: 10px; padding: 10px;
}
.mobile-dropdown-menu.active { display: block; animation: fadeIn 0.3s; }
.mobile-dropdown-menu li { border-bottom: none !important; margin-bottom: 0 !important; padding-bottom: 5px !important; }
.mobile-dropdown-menu a { font-size: 14px !important; color: #64748B !important; padding: 8px 10px; }
.mobile-dropdown-menu a:hover { color: var(--primary) !important; }
.mobile-dropdown-trigger.active i { transform: rotate(180deg); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

/* Tombol Yani AI Mobile (Futuristik) */
.mobile-btn-ai {
    background: linear-gradient(135deg, var(--bg-tech-dark), var(--primary)) !important;
    color: var(--neon-blue) !important;
    padding: 15px 20px !important;
    border-radius: 12px; border: 1px solid rgba(0, 243, 255, 0.3);
    text-align: center; margin-top: 25px; 
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
    display: flex; align-items: center; justify-content: center; gap: 10px;
    font-weight: 800 !important; letter-spacing: 1px; text-transform: uppercase;
}
.mobile-btn-ai:hover { background: var(--neon-blue) !important; color: var(--bg-tech-dark) !important; box-shadow: 0 0 25px rgba(0, 243, 255, 0.6); }

/* === 3. HERO & SECTIONS (Style Asli) === */
.hero { padding: 150px 0 80px; position: relative; overflow: hidden; background: var(--grad-hero); border-radius: 0 0 60px 60px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; }
.badge { background: white; color: var(--primary); padding: 8px 18px; border-radius: 50px; font-weight: 700; font-size: 13px; text-transform: uppercase; box-shadow: var(--shadow-soft); display: inline-block; margin-bottom: 24px; }
.hero h1 { font-size: 48px; line-height: 1.2; font-weight: 800; color: var(--secondary); margin-bottom: 20px; }
.highlight { color: var(--primary); position: relative; }
.hero p { font-size: 18px; margin-bottom: 30px; max-width: 90%; }
.btn-group { display: flex; gap: 15px; }
.btn { padding: 14px 32px; border-radius: 12px; font-weight: 700; cursor: pointer; transition: 0.3s; border: none; font-size: 16px; display: inline-block; }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.4); }
.btn-primary:hover { transform: translateY(-3px); background: var(--primary-dark); }
.btn-outline { background: white; border: 1px solid #CBD5E1; color: var(--secondary); }
.hero-img img { border-radius: 24px; box-shadow: var(--shadow-hover); border: 6px solid rgba(255,255,255,0.6); }

/* ABOUT SECTION */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.about-text h3 { font-size: 16px; color: var(--primary); font-weight: 700; text-transform: uppercase; margin-bottom: 10px; letter-spacing: 1px; }
.about-text h2 { font-size: 36px; font-weight: 800; color: var(--secondary); line-height: 1.3; margin-bottom: 25px; }
.about-features { display: flex; flex-direction: column; gap: 20px; }
.feat-card { background: white; padding: 25px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid #F1F5F9; display: flex; align-items: flex-start; gap: 20px; transition: 0.3s; }
.feat-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.feat-icon { min-width: 50px; height: 50px; background: #EEF2FF; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 20px; }
/* Card AI Highlight (Dark) */
.feat-card.ai-highlight { background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%); border: 1px solid rgba(0, 243, 255, 0.3); }
.feat-card.ai-highlight .feat-icon { background: rgba(255,255,255,0.1); color: var(--neon-blue); box-shadow: 0 0 15px rgba(0, 243, 255, 0.2); }
.feat-card.ai-highlight h4 { color: white; }
.feat-card.ai-highlight p { color: rgba(255,255,255,0.7); }

/* LAYANAN SECTION */
.section { padding: 80px 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-header h2 { font-size: 36px; font-weight: 800; color: var(--secondary); margin-bottom: 10px; }
.services-wrapper { display: flex; flex-wrap: wrap; justify-content: center; gap: 25px; }
.svc-box { background: white; flex: 1 1 300px; max-width: 350px; padding: 35px 30px; border-radius: 20px; border: 1px solid #F1F5F9; text-align: left; transition: all 0.3s ease; position: relative; top: 0; display: flex; flex-direction: column; }
.svc-box:hover { top: -10px; box-shadow: 0 20px 40px rgba(79, 70, 229, 0.1); border-color: #E0E7FF; }
.box-icon { width: 50px; height: 50px; background: #EEF2FF; color: var(--primary); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px; }
.svc-box h3 { font-size: 18px; font-weight: 800; color: var(--secondary); margin-bottom: 10px; }
.svc-box p { color: var(--text-body); font-size: 14px; line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }
.box-link { font-weight: 700; font-size: 13px; color: var(--primary); display: inline-flex; align-items: center; gap: 8px; }

/* ORIMART & FAQ */
.orimart-wrap { background: var(--secondary); color: white; border-radius: 30px; padding: 60px 50px; display: grid; grid-template-columns: 1fr 0.8fr; gap: 50px; align-items: center; overflow: hidden; }
.orimart-content h2 { font-size: 36px; font-weight: 800; margin-bottom: 15px; }
.orimart-list li { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.check-circle { background: #22C55E; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; color: white; }
.orimart-img img { border-radius: 20px; width: 100%; max-height: 350px; object-fit: cover; }

.faq-bg { background: white; }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 15px; max-width: 900px; margin: 0 auto; }
.faq-card { background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; overflow: hidden; transition: 0.3s; }
.faq-card.active { box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-color: var(--primary); }
.faq-head { padding: 15px 25px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; cursor: pointer; background: #F8FAFC; font-size: 15px; }
.faq-body { max-height: 0; overflow: hidden; transition: 0.4s; padding: 0 25px; opacity: 0; }
.faq-card.active .faq-body { max-height: 200px; padding: 15px 25px 25px; opacity: 1; }

/* === KONSULTASI FORM FUTURISTIK === */
.consultation-wrapper {
    max-width: 900px; margin: 0 auto;
    background: var(--bg-tech-card);
    border-radius: 24px; border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    display: grid; grid-template-columns: 1fr 1.3fr; overflow: hidden;
    backdrop-filter: blur(10px);
}
.consultation-text { padding: 50px; background: rgba(255,255,255,0.02); border-right: 1px solid rgba(255,255,255,0.05); color: white; }
.consultation-text h3 { font-size: 26px; margin-bottom: 15px; font-weight: 800; color: white; }
.consultation-text p { color: rgba(255,255,255,0.7); }
.consul-benefits li { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; color: white; }
.consul-benefits li i { color: var(--neon-blue); }

.consultation-form { padding: 50px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 700; color: rgba(255,255,255,0.8); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.form-ctrl { 
    width: 100%; padding: 14px; border-radius: 10px; outline: none; 
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); 
    color: white; transition: 0.3s; font-size: 15px;
}
.form-ctrl:focus { border-color: var(--neon-blue); background: rgba(0, 243, 255, 0.05); box-shadow: 0 0 15px rgba(0, 243, 255, 0.1); }
.form-ctrl option { background: var(--secondary); color: white; }

/* TEASER YANI AI DI HOME */
.yani-teaser-box {
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
    border-radius: 40px; padding: 60px 40px; text-align: center; color: white;
    border: 1px solid rgba(255,255,255,0.05); position: relative; overflow: hidden;
}
.neon-badge-home {
    border: 1px solid var(--neon-blue); color: var(--neon-blue); padding: 5px 15px; 
    border-radius: 20px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; display: inline-block;
}
.btn-glow-home {
    background: var(--neon-blue); color: #000; padding: 14px 35px; font-size: 16px; font-weight: 700; border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.5); display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
}
.btn-glow-home:hover { background: white; box-shadow: 0 0 40px rgba(0, 243, 255, 0.8); transform: scale(1.05); }

/* INTRO INFO HALAMAN YANI */
.yani-intro { text-align: center; max-width: 800px; margin: 0 auto 30px; color: white; }
.yani-intro h2 { font-size: 32px; font-weight: 800; margin-bottom: 15px; }
.text-neon { color: var(--neon-blue); text-shadow: 0 0 10px rgba(0, 243, 255, 0.5); }
.yani-intro p { color: #94A3B8; font-size: 16px; margin-bottom: 30px; }

.howto-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 30px; }
.howto-card { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05); padding: 20px; border-radius: 16px; text-align: center; transition: 0.3s; }
.howto-card:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--neon-blue); transform: translateY(-5px); }
.step-icon { width: 40px; height: 40px; background: rgba(0, 243, 255, 0.1); color: var(--neon-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; font-weight: bold; font-size: 18px; border: 1px solid rgba(0, 243, 255, 0.3); }
.howto-card h4 { color: white; font-size: 16px; margin-bottom: 8px; font-weight: 700; }
.howto-card p { font-size: 13px; margin-bottom: 0; line-height: 1.4; }

/* FOOTER */
.footer { background: white; padding: 60px 0 30px; margin-top: 80px; border-top: 1px solid #E2E8F0; }
.footer-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer h4 { font-size: 18px; font-weight: 800; color: var(--secondary); margin-bottom: 20px; }
.footer-bottom { text-align: center; margin-top: 50px; padding-top: 20px; border-top: 1px solid #F1F5F9; color: #94A3B8; font-size: 14px; }
.wa-float { 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; font-size: 30px; z-index: 9999; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4); }

/* === KHUSUS HALAMAN YANI.HTML === */
.ai-page-body { background-color: var(--bg-tech-dark); min-height: 100vh; }
.chat-wrapper-full { padding-top: 100px; padding-bottom: 40px; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.chat-box-futuristic {
    background: var(--bg-tech-card); border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 24px; box-shadow: 0 0 50px rgba(0, 243, 255, 0.05);
    overflow: hidden; display: flex; flex-direction: column; height: 75vh;
}
.chat-head-ai { padding: 20px 25px; background: rgba(0,0,0,0.3); border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; align-items: center; }
.ai-avatar-glow { width: 45px; height: 45px; border-radius: 50%; background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple)); display: flex; align-items: center; justify-content: center; font-size: 20px; color: white; box-shadow: 0 0 15px var(--neon-blue); }
.online-badge { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--online-green); font-weight: 600; background: rgba(34, 197, 94, 0.1); padding: 4px 12px; border-radius: 20px; border: 1px solid rgba(34, 197, 94, 0.2); }
.pulse { width: 8px; height: 8px; background: var(--online-green); border-radius: 50%; animation: pulsing 1.5s infinite; }
@keyframes pulsing { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); } 100% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } }

.chat-area { flex: 1; overflow-y: auto; padding: 25px; display: flex; flex-direction: column; gap: 15px; scrollbar-width: thin; scrollbar-color: var(--neon-blue) #0F172A; }
.msg { max-width: 85%; padding: 12px 20px; border-radius: 18px; font-size: 15px; line-height: 1.5; }
.msg-ai { align-self: flex-start; background: rgba(255,255,255,0.05); color: #e2e8f0; border: 1px solid rgba(255,255,255,0.1); }
.msg-user { align-self: flex-end; background: linear-gradient(135deg, var(--primary), var(--neon-purple)); color: white; }

.input-area-ai { padding: 20px; background: rgba(0,0,0,0.3); border-top: 1px solid rgba(255,255,255,0.05); display: flex; gap: 12px; }
.input-ai { flex: 1; padding: 14px 20px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; outline: none; color: white; transition: 0.3s; }
.input-ai:focus { border-color: var(--neon-blue); background: rgba(0, 243, 255, 0.05); }
.btn-send-ai { width: 50px; background: var(--neon-blue); color: black; border: none; border-radius: 12px; font-size: 18px; cursor: pointer; transition: 0.3s; }
.signal-info { margin-bottom: 20px; background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.3); color: #fdba74; padding: 10px 20px; border-radius: 12px; font-size: 13px; display: flex; gap: 10px; align-items: center; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .burger { display: flex; }
    .hero { padding-top: 130px; text-align: center; }
    .hero-grid, .about-grid, .orimart-wrap, .consultation-wrapper, .footer-cols { grid-template-columns: 1fr; gap: 40px; }
    .hero-img { order: 1; }
    .consultation-text { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .chat-wrapper-full { padding-top: 80px; padding-bottom: 20px; }
    .chat-box-futuristic { height: 80vh; }
    .yani-intro h2 { font-size: 24px; }
    .howto-grid { grid-template-columns: 1fr; gap: 10px; }
    .howto-card { padding: 15px; display: flex; align-items: center; text-align: left; gap: 15px; }
    .step-icon { margin: 0; min-width: 40px; }
    .legal-grid, .split-section { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-legal { padding-top: 120px; }
    .split-img { order: -1; } 
    .legal-img-box { margin-top: 30px; }
}