/* --- CSS VARIABLES & RESET --- */
:root {
    --primary: #2A2D7C;
    --primary-light: #5356A3;
    --accent: #FF6B6B;
    --accent-hover: #E85A5A;
    --text-dark: #2D3436;
    --text-light: #636e72;
    --bg-light: #F9FBFF;
    --white: #ffffff;
    --shadow-soft: 0 10px 25px rgba(42, 45, 124, 0.1);
    --shadow-hover: 0 15px 35px rgba(42, 45, 124, 0.15);
    --radius-lg: 20px;
}

/* --- BASIC SETUP --- */
body {
    color: var(--text-dark); 
    line-height: 1.7; 
    background-color: var(--bg-light); 
    font-family: 'Open Sans', sans-serif; 
    overflow-x: hidden;
    margin: 0; padding: 0;
    -webkit-user-select: none; user-select: none;
}

input, select, textarea, button { user-select: auto !important; -webkit-user-select: auto !important; }

img { max-width: 100%; height: auto; display: block; object-fit: cover; pointer-events: none; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

h1, h2, h3, h4, .btn, label, .price-display, th { font-family: 'Montserrat', sans-serif; font-weight: 700; }
a { text-decoration: none; color: inherit; transition: 0.3s ease; }
section { padding: 80px 20px; position: relative; z-index: 1; }
.container { max-width: 1200px; margin: 0 auto; }

/* --- UTILITY CLASSES --- */
.btn { display: inline-flex; align-items: center; padding: 14px 32px; border-radius: 50px; font-weight: 700; cursor: pointer; border: none; font-size: 1rem; transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.btn-accent { background-color: var(--accent); color: var(--white); }
.btn-accent:hover { background-color: var(--accent-hover); transform: translateY(-3px); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-outline-white:hover { background: var(--white); color: var(--primary); border-color: var(--white); transform: translateY(-3px); }
.btn-whatsapp { background: linear-gradient(45deg, #25D366, #128C7E); color: var(--white); width: 100%; justify-content: center; font-size: 1.1rem; box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3); }
.btn-whatsapp:hover { opacity: 0.95; transform: translateY(-2px); }

.heading-group { text-align: center; margin-bottom: 50px; }
.heading { color: var(--primary); font-size: 2.5rem; position: relative; display: inline-block; margin-bottom: 10px; }
.heading::after { content: ''; position: absolute; width: 60%; height: 4px; background: var(--accent); bottom: -10px; left: 20%; border-radius: 2px; }
.sub-heading { color: var(--text-light); font-size: 1.1rem; max-width: 600px; margin: 20px auto 0; }

.badge-promo { background: #FF9F43; color: white; padding: 2px 8px; border-radius: 10px; font-size: 0.75rem; margin-left: 8px; vertical-align: middle; text-transform: uppercase; letter-spacing: 0.5px; }

/* --- HEADER & NAV --- */
header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); box-shadow: var(--shadow-soft); position: sticky; top: 0; z-index: 1000; padding: 15px 0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
.logo { font-size: 1.8rem; font-weight: 800; color: var(--primary); letter-spacing: -1px; }
.logo span { color: var(--accent); }
.nav-menu { display: flex; gap: 25px; align-items: center; }
.nav-menu a { font-size: 0.95rem; font-weight: 600; color: var(--text-dark); position: relative; }
.nav-menu a:not(.btn):hover { color: var(--accent); }
.hamburger { display: none; cursor: pointer; font-size: 1.8rem; color: var(--primary); }

/* --- NEW: LANGUAGE SWITCHER STYLE --- */
.lang-switch { display: flex; align-items: center; gap: 8px; margin-right: 15px; }
.lang-btn { font-size: 0.85rem; font-weight: 800; cursor: pointer; color: var(--text-light); opacity: 0.5; transition: 0.3s; padding: 2px 5px; }
.lang-btn:hover { opacity: 1; color: var(--primary); }
.lang-btn.active { opacity: 1; color: var(--accent); border-bottom: 2px solid var(--accent); }
.lang-separator { color: #ddd; font-size: 0.8rem; }

@media (max-width: 992px) {
    .nav-menu { 
        display: none; 
        position: fixed; /* FIXED agar menempel di layar HP */
        top: 0; left: 0;         
        width: 100%; height: 100vh;
        background: white; 
        flex-direction: column; 
        justify-content: center; align-items: center;     
        padding: 40px; 
        box-shadow: none;
        z-index: 999;    
    }
    .nav-menu.active { display: flex; }
    .hamburger { display: block; position: relative; z-index: 1000; }
    .lang-switch { margin: 20px 0; justify-content: center; transform: scale(1.2); }
}

/* --- HERO --- */
.hero { background: linear-gradient(120deg, var(--primary) 0%, #15184a 100%); color: var(--white); padding: 120px 20px 180px; text-align: center; overflow: hidden; position: relative; }
.hero::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: var(--accent); opacity: 0.15; border-radius: 40% 60% 70% 30% / 40% 50% 50% 60%; animation: blobMorph 15s linear infinite alternate; }
.hero::after { content: ''; position: absolute; bottom: 50px; left: -150px; width: 500px; height: 500px; background: var(--primary-light); opacity: 0.2; border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; animation: blobMorph 20s linear infinite alternate-reverse; }
@keyframes blobMorph { 0% { border-radius: 40% 60% 70% 30% / 40% 50% 50% 60%; } 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; } }

.hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.2; margin-bottom: 20px; letter-spacing: -1px; }
.hero .tagline { display: block; color: var(--accent); font-size: 1.2rem; margin-bottom: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.custom-shape-divider-bottom { position: absolute; bottom: 0; left: 0; width: 100%; overflow: hidden; line-height: 0; transform: rotate(180deg); }
.custom-shape-divider-bottom svg { width: calc(150% + 1.3px); height: 120px; fill: var(--bg-light); }

/* --- FEATURES --- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; }
.feature-card { background: var(--white); padding: 40px 30px; border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-soft); transition: all 0.4s ease; border-bottom: 4px solid transparent; }
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-bottom-color: var(--accent); }
.icon-box { width: 70px; height: 70px; line-height: 70px; border-radius: 50%; background: rgba(255, 107, 107, 0.1); color: var(--accent); font-size: 2rem; margin: 0 auto 25px; transition: 0.3s; }
.feature-card:hover .icon-box { background: var(--accent); color: var(--white); }

/* --- HIGHLIGHT --- */
.highlight-section { background: var(--white); position: relative; overflow: hidden; }
.highlight-wrapper { display: flex; align-items: center; gap: 50px; position: relative; z-index: 2; }
.highlight-img-box { flex: 1; position: relative; }
.img-rounded-custom { width: 100%; border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; box-shadow: var(--shadow-soft); border: 5px solid var(--white); aspect-ratio: 1/1; }
.highlight-content { flex: 1; }
.highlight-badge { background: var(--accent); color: var(--white); padding: 5px 15px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; display: inline-block; margin-bottom: 15px; }
@media (max-width: 768px) { .highlight-wrapper { flex-direction: column; text-align: center; } .highlight-img-box { width: 80%; margin: 0 auto; } }

/* --- FORM STYLES --- */
.program-section { background: #EEF2FF; position: relative; padding-bottom: 100px; }
.custom-shape-divider-top { position: absolute; top: 0; left: 0; width: 100%; overflow: hidden; line-height: 0; }
.custom-shape-divider-top svg { position: relative; display: block; width: calc(150% + 1.3px); height: 100px; transform: rotateY(180deg); fill: var(--white); }

.program-dashboard { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; }
.program-controls { background: var(--white); padding: 40px; border-radius: 24px; box-shadow: var(--shadow-soft); border: 1px solid rgba(42, 45, 124, 0.05); }

.step-label { display: flex; align-items: center; gap: 10px; color: var(--primary); font-size: 1.1rem; margin-bottom: 15px; font-weight: 800; }
.step-number { background: var(--primary); color: var(--white); width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.form-group { margin-bottom: 30px; border-bottom: 1px dashed #eee; padding-bottom: 20px; }

.checkbox-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.checkbox-btn {
    display: inline-flex; align-items: center; cursor: pointer; font-size: 0.9rem; user-select: none;
    padding: 12px 18px; background: #f8f9fc; border-radius: 12px; border: 1px solid #e0e6ed; transition: 0.2s; color: var(--text-dark); font-weight: 600;
}
.checkbox-btn:hover { background: #EEF2FF; border-color: var(--primary-light); }
.checkbox-btn input { display: none; }
.checkbox-btn:has(input:checked) { background: var(--primary); color: white; border-color: var(--primary); box-shadow: 0 4px 10px rgba(42, 45, 124, 0.2); }
.checkbox-btn:has(input:checked) .badge-promo { background: white; color: var(--accent); }

.dynamic-section { display: none; margin-top: 15px; padding: 15px; background: #fafafa; border-radius: 12px; border-left: 4px solid var(--accent); animation: slideDown 0.3s ease; }
.dynamic-title { font-size: 0.9rem; font-weight: 800; color: var(--text-light); margin-bottom: 10px; display: block; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.time-slots-wrapper { background: #fdfdfd; border: 1px dashed #dbe0ea; border-radius: 12px; padding: 15px; margin-top: 15px; }
.time-section-label { font-size: 0.85rem; font-weight: 800; color: var(--primary); margin-top: 10px; margin-bottom: 8px; display: block; text-transform: uppercase; }
.time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(75px, 1fr)); gap: 8px; }
.time-btn { padding: 8px 4px; background: #fff; border: 1px solid #d1d5db; border-radius: 8px; font-size: 0.85rem; font-weight: 700; color: var(--text-light); cursor: pointer; transition: 0.2s; text-align: center; }
.time-btn:hover { border-color: var(--primary); color: var(--primary); background: #f0f4ff; }
.time-btn.active { background: var(--accent); color: white; border-color: var(--accent); }
.form-select { width: 100%; padding: 14px; border: 2px solid #e0e6ed; border-radius: 12px; font-size: 1rem; }

.program-summary { position: sticky; top: 100px; height: fit-content; background: linear-gradient(145deg, #ffffff, #f0f4ff); padding: 35px; border-radius: 24px; box-shadow: 0 20px 40px rgba(42, 45, 124, 0.15); border: 2px solid var(--white); }
.price-row { display: flex; justify-content: space-between; margin-bottom: 12px; }
.price-row.total { margin-top: 20px; padding-top: 20px; border-top: 2px solid #eee; align-items: flex-end; }
.big-price { font-size: 2rem; color: var(--primary); font-weight: 800; line-height: 1; }
@media (max-width: 900px) { .program-dashboard { grid-template-columns: 1fr; } .program-summary { position: static; } }

/* --- PRODUCT CARDS --- */
.media-section { background: var(--white); }
.product-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); transition: 0.3s; border: 1px solid #eee; display: flex; flex-direction: column; height: 100%; }
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.product-img-box { height: 240px; background: #f0f0f0; position: relative; overflow: hidden; }
.product-img-box img { width: 100%; height: 100%; }
.product-body { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.product-price { font-size: 1.4rem; font-weight: 800; color: var(--accent); margin-bottom: 15px; }

/* --- ABOUT --- */
.about-section { background: linear-gradient(to right, #EEF2FF 60%, var(--white) 60%); }
.about-wrapper { display: flex; gap: 60px; align-items: flex-start; }
.founder-col { flex: 0 0 350px; text-align: center; position: relative; }
.founder-img-box { width: 220px; height: 220px; margin: 0 auto 30px; position: relative; z-index: 2; }
.founder-img-box img { width: 100%; height: 100%; border-radius: 50%; border: 8px solid var(--white); box-shadow: var(--shadow-soft); }
.founder-info { position: relative; z-index: 2; }
.vision-col { flex: 1; background: var(--white); padding: 50px; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); position: relative; z-index: 2; }
.vision-box li { margin-bottom: 12px; position: relative; padding-left: 25px; }
.vision-box li::before { content: '✔'; color: var(--accent); position: absolute; left: 0; top: 2px; font-weight: bold; }
@media (max-width: 992px) { .about-section { background: #EEF2FF; } .about-wrapper { flex-direction: column; } .founder-col { flex: auto; width: 100%; margin-bottom: 40px; } }

/* --- FOOTER --- */
footer { background: var(--primary); color: var(--white); padding: 80px 20px 40px; text-align: center; position: relative; }
.footer-wave { position: absolute; top: -1px; left: 0; width: 100%; overflow: hidden; line-height: 0; }
.footer-wave svg { width: calc(150% + 1.3px); height: 70px; fill: var(--bg-light); }
.footer-links { display: flex; justify-content: center; gap: 30px; margin-bottom: 30px; flex-wrap: wrap; }
.footer-links a { font-weight: 600; opacity: 0.8; }
.copyright { opacity: 0.6; font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; }

/* Animation */
.fade-in { animation: fadeInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; }
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 30px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }