:root {
    --primary-red: #D62828;
    --primary-blue: #003B95;
    --primary-yellow: #FFC300;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --dark-gray: #2B2D42;
    --elegant-black: #1A1A24;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.25);
    --shadow-premium: 0 15px 35px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--dark-gray);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.mb-50 { margin-bottom: 50px; }
.bg-light { background-color: var(--light-gray); }
.text-red { color: var(--primary-red); }
.text-blue { color: var(--primary-blue); }

/* --- STICKY NAVIGATION BAR (GLASSMORPHISM) --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    padding: 15px 0;
}

.navbar.hidden {
    transform: translateY(-100%);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-placeholder {
    display: inline-block;
    padding: 6px 12px;
    font-weight: 700;
    font-size: 11px;
    color: var(--white);
    border-radius: 6px;
    text-transform: uppercase;
}
.logo-salvation { background-color: var(--primary-red); }
.logo-wb { background-color: var(--primary-blue); }

.brand-text {
    display: flex;
    flex-direction: column;
}
.brand-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-blue);
    letter-spacing: 0.5px;
}
.brand-subtitle {
    font-size: 0.8rem;
    color: var(--primary-red);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary-blue);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after, .nav-menu a.active::after {
    width: 100%;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00235B, #003B95);
    color: var(--white);
    overflow: hidden;
    padding-top: 80px;
}

.grid-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

#particles-hero, #particles-about, #particles-cta {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

.hero-tagline {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.typing-container {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-yellow);
    height: 40px;
    margin-bottom: 40px;
}

/* --- BUTTONS & RIPPLE EFFECT --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn-primary { background: var(--primary-red); color: var(--white); box-shadow: 0 4px 15px rgba(214,40,40,0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(214,40,40,0.6); }

.btn-secondary { background: var(--primary-blue); color: var(--white); margin: 0 15px; }
.btn-secondary:hover { transform: translateY(-3px); background: #002e75; }

.btn-outline { border: 2px solid var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--primary-blue); }

.btn-yellow { background: var(--primary-yellow); color: var(--elegant-black); font-weight: 700; box-shadow: 0 4px 15px rgba(255,195,0,0.4); }

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.wave-divider svg {
    position: relative;
    display: block;
    width: calc(130% + 1.3px);
    height: 70px;
}
.wave-divider .shape-fill { fill: var(--white); }

/* --- STATS SECTION (NEUMORPHISM MODEREN) --- */
.stats-section {
    position: relative;
    margin-top: -40px;
    z-index: 20;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.04), -10px -10px 30px rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.7);
    transition: transform 0.1s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.stat-icon { font-size: 2rem; color: var(--primary-blue); margin-bottom: 10px; }
.stat-num { font-size: 2.2rem; font-weight: 800; color: var(--elegant-black); }
.stat-label { font-size: 0.85rem; color: #6c757d; font-weight: 500; }

/* --- ABOUT SECTION --- */
.about-section {
    position: relative;
    padding: 100px 0;
    background: var(--white);
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.section-badge {
    color: var(--primary-red);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 10px;
}

.about-info h2 { font-size: 2.4rem; font-weight: 700; color: var(--primary-blue); margin-bottom: 20px; }
.about-info p { font-size: 1rem; line-height: 1.7; color: #4a4a4a; margin-bottom: 25px; }

.about-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.feat-item {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-img-placeholder, .sub-img-placeholder {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: var(--shadow-premium);
}

.image-stack {
    position: relative;
    height: 400px;
    transform-style: preserve-3d;
}
.main-img-placeholder { width: 80%; height: 320px;}
.sub-img-placeholder {
    width: 55%;
    height: 200px;
    position: absolute;
    bottom: 10px;
    right: 0;
    border: 6px solid var(--white);
    transform: translateZ(30px);
}

/* --- KEUNGGULAN SECTION --- */
.features-section { padding: 100px 0; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.02);
    transform-style: preserve-3d;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,59,149,0.1);
}

.feat-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 25px;
}
.blue-bg { background: var(--primary-blue); }
.red-bg { background: var(--primary-red); }
.yellow-bg { background: var(--primary-yellow); color: var(--elegant-black); }
.dark-bg { background: var(--dark-gray); }

.feature-card h3 { font-size: 1.25rem; margin-bottom: 15px; color: var(--elegant-black); }
.feature-card p { font-size: 0.95rem; line-height: 1.6; color: #626469; }

/* --- TESTIMONIAL SLIDER --- */
.testimonial-section { padding: 100px 0; background: var(--white); overflow: hidden; }
.slider-wrapper { max-width: 800px; margin: 0 auto; overflow: hidden; position: relative; }
.testimonial-slider { display: flex; transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1); }
.testimonial-slide { min-width: 100%; padding: 40px; text-align: center; background: var(--light-gray); border-radius: 16px; }
.testi-text { font-size: 1.2rem; italic; margin-bottom: 25px; line-height: 1.6; color: var(--dark-gray); }
.testi-user { display: flex; align-items: center; justify-content: center; gap: 15px; }
.avatar-placeholder { width: 50px; height: 50px; border-radius: 50%; background: var(--primary-blue); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* --- ACCORDION FAQ --- */
.faq-section { padding: 100px 0; }
.faq-accordion-group { max-width: 750px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.faq-item { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.faq-header { padding: 20px 25px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; background: var(--white); transition: background 0.3s; }
.faq-header:hover { background: rgba(0,59,149,0.02); }
.faq-header h4 { font-size: 1.05rem; color: var(--elegant-black); font-weight: 600; }
.faq-body { padding: 0 25px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out, padding 0.3s ease; color: #555; line-height: 1.6; font-size: 0.95rem; }
.faq-item.active .faq-body { padding: 15px 25px 25px; max-height: 200px; border-top: 1px solid #f0f0f0; }
.faq-item.active .faq-header i { transform: rotate(180deg); color: var(--primary-red); }

/* --- CTA SECTION --- */
.cta-section { position: relative; padding: 100px 0; background: linear-gradient(135deg, #003B95, #D62828); color: var(--white); overflow: hidden; }
.cta-section h2 { font-size: 2.5rem; margin-bottom: 20px; font-weight: 700; }
.cta-section p { font-size: 1.1rem; max-width: 700px; margin: 0 auto 35px; opacity: 0.9; }

/* --- PREMIUM FOOTER --- */
.footer-premium { background: var(--elegant-black); color: rgba(255,255,255,0.7); padding: 80px 0 30px; border-top: 4px solid var(--primary-blue); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 40px; margin-bottom: 50px; }
.footer-col h4 { color: var(--white); font-size: 1.2rem; margin-bottom: 25px; position: relative; }
.footer-col h4::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 40px; height: 3px; background: var(--primary-red); }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--white); }
.logo-placeholder-sm { background: var(--primary-red); padding: 4px 8px; font-size: 0.8rem; font-weight: 700; border-radius: 4px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--primary-yellow); padding-left: 5px; }
.contact-info-item { display: flex; gap: 10px; margin-bottom: 15px; line-height: 1.5; }
.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-links a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.05); color: var(--white); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background 0.3s; }
.social-links a:hover { background: var(--primary-blue); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 30px; font-size: 0.85rem; }

/* --- OTHER PAGES & UTILITIES COMPONENT --- */
#scroll-progress { position: fixed; top: 0; left: 0; height: 4px; background: var(--primary-yellow); z-index: 1001; width: 0%; transition: width 0.1s; }
#btn-to-top { position: fixed; bottom: 30px; right: -60px; width: 45px; height: 45px; background: var(--primary-red); color: var(--white); border-radius: 50%; border: none; box-shadow: var(--shadow-premium); cursor: pointer; transition: all 0.4s; z-index: 999; display: flex; align-items: center; justify-content: center; }
#btn-to-top.show { right: 30px; }

/* Ripple Canvas Overlay Element */
.ripple-effect { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.4); transform: scale(0); animation: ripple-anim 0.6s linear; pointer-events: none; }
@keyframes ripple-anim { to { transform: scale(2.5); opacity: 0; } }

/* --- HERO SLIDESHOW COMPONENT --- */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Paling dasar */
}

.hero-slideshow .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 1.5s ease-in-out; /* Animasi transisi halus antar gambar */
}

.hero-slideshow .slide.active {
    opacity: 1;
}

/* Lapisan Warna Biru Bala Keselamatan (#003B95) dengan Transparansi Efek Premium */
.hero-overlay-blue {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 35, 91, 0.88), rgba(0, 59, 149, 0.82));
    z-index: 2; /* Di atas gambar, di bawah teks */
}

/* Sesuaikan tumpukan elemen grid, partikel, dan konten */
.grid-overlay { z-index: 3; }
#particles-hero { z-index: 4; }
.hero-content { z-index: 5; }
.wave-divider { z-index: 6; }