/* =========================================
   STYLE KHUSUS: FORM (Application Mode)
   ========================================= */

/* --- 1. BASE STYLES --- */
:root { --bg: #050508; --gold: #c5a47e; --white: #ffffff; --text-dim: rgba(255, 255, 255, 0.5); --font-serif: 'Cormorant Garamond', serif; --font-sans: 'Inter', sans-serif; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: var(--bg); color: var(--white); font-family: var(--font-sans); font-weight: 200; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; cursor: none; }
button { cursor: none; }

/* Navbar */
.navbar { position: fixed; top: 0; width: 100%; padding: 30px 5%; display: flex; justify-content: space-between; align-items: center; z-index: 1000; background: linear-gradient(to bottom, rgba(5,5,8,0.9), transparent); backdrop-filter: blur(5px); }
.logo { font-family: var(--font-serif); font-size: 1.5rem; letter-spacing: 5px; color: var(--gold); }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a { color: var(--text-dim); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; transition: 0.4s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); text-shadow: 0 0 10px var(--gold-dim); }
.highlight-btn { border: 1px solid var(--gold); padding: 8px 20px; border-radius: 50px; transition: 0.4s; }
.highlight-btn:hover { background: var(--gold); color: var(--bg) !important; box-shadow: 0 0 15px var(--gold); }

/* Tombol Hamburger (Disembunyikan di Desktop) */
.nav-trigger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2001; 
}
.nav-trigger span {
    width: 30px;
    height: 2px;
    background: var(--gold);
    transition: 0.3s ease;
}

/* Background */
.video-container { position: fixed; inset: 0; z-index: -2; background-color: var(--bg); }
#bg-video { width: 100%; height: 100%; object-fit: cover; opacity: 0.15; }
.vignette-strong { position: absolute; inset: 0; background: rgba(5,5,8,0.92); z-index: -1; }

/* --- 2. FORM CONTAINER --- */
.form-section { padding: 120px 5% 80px; display: flex; justify-content: center; }
.form-container { 
    background: rgba(10, 10, 14, 0.6); 
    border: 1px solid rgba(197, 164, 126, 0.15); 
    padding: 60px 40px; 
    width: 100%; max-width: 700px; 
    position: relative; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.form-container::before { content: ''; position: absolute; inset: 0; border: 1px solid var(--gold); opacity: 0.1; margin: 4px; pointer-events: none; }

.form-header { text-align: center; margin-bottom: 50px; }
.serif-title { font-family: var(--font-serif); font-size: 2.5rem; color: var(--gold); margin-bottom: 10px; }
.form-sub { color: var(--text-dim); font-size: 0.95rem; max-width: 500px; margin: 0 auto; line-height: 1.6; }

/* --- 3. INPUT FIELDS --- */
.mystic-form .form-group { margin-bottom: 30px; text-align: left; }
.form-section-title {
    font-family: var(--font-serif); font-size: 1.2rem; color: var(--white); 
    border-bottom: 1px solid rgba(197, 164, 126, 0.2); 
    padding-bottom: 10px; margin: 40px 0 20px; 
    letter-spacing: 2px;
}
.section-hint { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 20px; font-style: italic; opacity: 0.7; }
.mystic-form label { 
    display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; 
    color: var(--gold); margin-bottom: 8px; opacity: 0.8;
}

.mystic-form input, 
.mystic-form textarea { 
    width: 100%; 
    background: rgba(255, 255, 255, 0.03); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    padding: 15px; 
    color: var(--white); 
    font-family: var(--font-sans); 
    font-size: 0.95rem;
    transition: 0.4s; 
    outline: none; 
    border-radius: 0; 
}
.mystic-form textarea { resize: vertical; min-height: 80px; }
.mystic-form input:focus, 
.mystic-form textarea:focus { 
    border-color: var(--gold); 
    background: rgba(197, 164, 126, 0.05); 
    box-shadow: 0 0 15px rgba(197, 164, 126, 0.05);
}
.form-row { display: flex; gap: 20px; }
.form-row .form-group { flex: 1; }

/* --- 4. LITE SCAN (KHUSUS) --- */
.scan-card-wrapper {
    padding: 40px; text-align: center; border: 1px solid var(--gold); 
    box-shadow: 0 0 30px rgba(197, 164, 126, 0.1); border-radius: 12px;
    background: rgba(10, 10, 15, 0.4); backdrop-filter: blur(10px);
    width: 100%; max-width: 850px; box-sizing: border-box; margin: 0 auto; 
}
.scan-input-group {
    display: flex; flex-direction: row; gap: 15px; justify-content: center; 
    margin-bottom: 30px; align-items: center;
}
.scan-date-input {
    background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.2); 
    padding: 14px 20px; color: var(--white); font-family: 'Inter', sans-serif; 
    border-radius: 4px; outline: none; width: 250px; font-size: 1rem; transition: border-color 0.3s ease;
}
.scan-date-input:focus { border-color: var(--gold); }
.scan-btn-submit {
    padding: 14px 35px; border: 1px solid var(--gold); background: transparent; 
    color: var(--gold); font-weight: bold; cursor: pointer; transition: 0.3s;
    font-size: 0.9rem; letter-spacing: 1px; border-radius: 4px;
}
.scan-btn-submit:hover { background: var(--gold); color: #000; }
.result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }

/* --- 5. SUBMIT BUTTON --- */
.submit-btn { 
    width: 100%; cursor: pointer; background: transparent; 
    font-size: 0.9rem; margin-top: 40px; text-transform: uppercase; letter-spacing: 5px; 
    border: none; border-bottom: 1px solid var(--gold); 
    padding: 15px; color: var(--white); 
    transition: 0.5s;
}
.submit-btn:hover { background: var(--gold); color: #000; letter-spacing: 8px; }

.security-note { 
    margin-top: 30px; text-align: center; font-size: 0.75rem; 
    color: var(--text-dim); opacity: 0.6; 
    display: flex; align-items: center; justify-content: center; gap: 8px; 
}

/* Utils */
.audio-unit { position: fixed; bottom: 40px; right: 40px; z-index: 999; }
#playBtn { width: 45px; height: 45px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; justify-content: center; align-items: center; }
.pulse { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.cursor-dot, .cursor-outline { pointer-events: none; position: fixed; top: 0; left: 0; transform: translate(-50%, -50%); border-radius: 50%; z-index: 99999; }
.cursor-dot { width: 6px; height: 6px; background: var(--white); }
.cursor-outline { width: 40px; height: 40px; border: 1px solid var(--gold); transition: transform 0.1s; }
.reveal { opacity: 0; transform: translateY(30px); transition: all 1.2s cubic-bezier(0.2, 0.6, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- KATEGORI & KATALOG STYLES --- */
.catalog-section { padding: 120px 5% 80px; max-width: 1400px; margin: 0 auto; text-align: center; }
.catalog-header { margin-bottom: 50px; }
.section-divider-title {
    font-family: var(--font-serif); font-size: 1.5rem; color: var(--white);
    text-align: left; border-bottom: 1px solid rgba(197, 164, 126, 0.2);
    padding-bottom: 10px; margin: 40px 0 30px; letter-spacing: 2px;
}
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }

#ebook-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }

.product-card {
    background: rgba(10, 10, 14, 0.6); border: 1px solid rgba(197, 164, 126, 0.2);
    padding: 40px 30px; text-align: left; position: relative;
    transition: 0.4s; display: flex; flex-direction: column;
}
.product-card:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(197, 164, 126, 0.1); }
.product-card h4 { font-family: var(--font-serif); font-size: 1.6rem; color: var(--gold); margin-bottom: 15px; }
.product-card p { font-size: 0.9rem; color: var(--text-dim); margin-bottom: 20px; flex-grow: 1; }
.package-features { list-style: none; margin-bottom: 30px; font-size: 0.85rem; color: var(--text-dim); }
.package-features li { margin-bottom: 8px; }
.product-card .price { font-size: 1.2rem; font-weight: 600; color: var(--white); margin-bottom: 25px; letter-spacing: 1px; }
.product-card .open-form-btn { width: 100%; background: transparent; border: 1px solid var(--gold); color: var(--gold); padding: 12px; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; transition: 0.4s; }
.product-card .open-form-btn:hover { background: var(--gold); color: var(--bg); }
.package-pro { border-color: var(--gold); background: linear-gradient(180deg, rgba(197,164,126,0.05) 0%, rgba(10,10,14,0.8) 100%); }

/* --- NEW COMPACT MEMBERSHIP STYLES --- */
.membership-grid {
    display: flex; justify-content: center; align-items: flex-start; gap: 25px;
    max-width: 900px; margin: 0 auto; padding: 20px;
}
.membership-card {
    flex: 1; max-width: 350px; background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 12px;
    padding: 30px 25px; text-align: center; display: flex; flex-direction: column;
    justify-content: space-between; position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease; cursor: default;
}
.membership-card:hover {
    transform: translateY(-5px); background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.1);
}
.card-title { font-size: 1.5rem; margin-bottom: 5px; }
.card-subtitle { color: var(--text-dim); font-size: 0.8rem; margin-bottom: 20px; }
.card-price-section { margin-bottom: 25px; display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.price-currency { color: var(--text-dim); font-size: 0.8rem; }
.price-amount { color: #fff; font-size: 2.2rem; font-weight: bold; }
.price-period { color: var(--text-dim); font-size: 0.75rem; }
.feature-list { list-style: none; padding: 0; margin: 0 0 30px 0; text-align: left; font-size: 0.85rem; color: #ccc; line-height: 1.6; }
.feature-list li { margin-bottom: 8px; }
.feature-list li.disabled { color: rgba(255, 255, 255, 0.3); }
.compact-btn { width: 100%; padding: 10px 15px; font-size: 0.8rem; letter-spacing: 1px; }

.membership-card.featured {
    background: rgba(76, 255, 136, 0.02); border-color: rgba(76, 255, 136, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); transform: scale(1.02);
}
.membership-card.featured:hover { transform: scale(1.02) translateY(-5px); }
.membership-card.premium .card-title { color: #4cff88; }
.membership-card.premium .featured-badge {
    background: #4cff88; color: #000; font-size: 0.6rem; font-weight: bold; text-transform: uppercase;
    letter-spacing: 1.5px; padding: 4px 10px; border-radius: 20px; display: inline-block; margin-bottom: 10px;
}
.featured-btn { border-color: #4cff88; color: #000000; }
.membership-card.basic { border-top-color: var(--gold); }
.membership-card.basic .card-title { color: var(--gold); }

/* --- FORM MODAL (POP-UP) STYLES --- */
.form-modal-overlay {
    position: fixed; inset: 0; background: rgba(5, 5, 8, 0.95); backdrop-filter: blur(8px);
    z-index: 2000; display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: 0.5s ease; overflow-y: auto; padding: 20px;
}
.form-modal-overlay.active { opacity: 1; visibility: visible; }
.form-modal-container {
    background: var(--bg); border: 1px solid rgba(197, 164, 126, 0.3);
    width: 100%; max-width: 600px; padding: 50px 40px; position: relative;
    transform: translateY(30px) scale(0.95); transition: 0.5s ease;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8); max-height: 90vh; overflow-y: auto;
}
.form-modal-overlay.active .form-modal-container { transform: translateY(0) scale(1); }
.close-modal-btn { position: absolute; top: 20px; right: 25px; background: none; border: none; color: var(--gold); font-size: 2rem; line-height: 1; opacity: 0.7; transition: 0.3s; }
.close-modal-btn:hover { opacity: 1; transform: rotate(90deg); }
.form-modal-container::-webkit-scrollbar { width: 4px; }
.form-modal-container::-webkit-scrollbar-track { background: transparent; }
.form-modal-container::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

/* --- TAMPILAN SWIPEABLE E-BOOK (CAROUSEL) --- */
.ebook-carousel {
    display: flex; gap: 15px; margin-bottom: 10px; overflow-x: auto; scroll-snap-type: x mandatory; 
    scroll-behavior: smooth; cursor: grab; user-select: none; scrollbar-width: none; -ms-overflow-style: none; 
}
.ebook-carousel::-webkit-scrollbar { display: none; }
.ebook-carousel:active { cursor: grabbing; }
.swipe-hint { font-size: 0.65rem; color: var(--text-dim); text-align: center; margin-bottom: 25px; letter-spacing: 2px; text-transform: uppercase; opacity: 0.7; }
.img-wrapper { flex: 0 0 100%; scroll-snap-align: center; position: relative; aspect-ratio: 3 / 4; border: 1px solid rgba(197, 164, 126, 0.2); overflow: hidden; background: #050508; }
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; opacity: 0.85; }
.product-card:hover .img-wrapper img { opacity: 1; }
.img-wrapper::after { content: attr(data-label); position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(5, 5, 8, 0.85); color: var(--gold); font-size: 0.6rem; padding: 5px 0; text-align: center; letter-spacing: 2px; text-transform: uppercase; backdrop-filter: blur(2px); border-top: 1px solid rgba(197, 164, 126, 0.2); }

/* --- KOTAK SINOPSIS --- */
.synopsis-wrapper { flex: 0 0 100%; scroll-snap-align: center; position: relative; aspect-ratio: 16 / 9; border: 1px solid rgba(197, 164, 126, 0.2); background: rgba(10, 10, 14, 0.9); padding: 20px; padding-bottom: 35px; overflow: hidden; display: flex; flex-direction: column; }
.synopsis-content { flex: 1; overflow-y: auto; font-size: 0.85rem; color: var(--text-dim); line-height: 1.6; text-align: justify; padding-right: 10px; }
.synopsis-content::-webkit-scrollbar { width: 3px; }
.synopsis-content::-webkit-scrollbar-track { background: transparent; }
.synopsis-content::-webkit-scrollbar-thumb { background: rgba(197, 164, 126, 0.3); border-radius: 3px; }
.synopsis-wrapper::after { content: attr(data-label); position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(5, 5, 8, 0.85); color: var(--gold); font-size: 0.6rem; padding: 5px 0; text-align: center; letter-spacing: 2px; text-transform: uppercase; backdrop-filter: blur(2px); border-top: 1px solid rgba(197, 164, 126, 0.2); }

/* --- TAMPILAN PAKET VIDEO & SWIPE (OLD) --- */
.package-card { padding: 0; height: 500px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid rgba(197, 164, 126, 0.3); }
.video-bg-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.package-video { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; filter: contrast(1.2) saturate(0.8); }
.video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(0deg, rgba(5,5,8,0.9) 10%, rgba(5,5,8,0.4) 100%); z-index: 1; }
.package-carousel { position: relative; z-index: 2; display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; cursor: grab; user-select: none; scrollbar-width: none; -ms-overflow-style: none; }
.package-carousel::-webkit-scrollbar { display: none; }
.package-carousel:active { cursor: grabbing; }
.package-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; display: flex; flex-direction: column; justify-content: center; }
.slide-content-wrapper { padding: 40px 30px; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.slide-content-wrapper.center-content { align-items: center; text-align: center; }
.cover-slide { background: transparent; }
.package-card h4 { font-size: 2rem; margin-bottom: 10px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.package-sub { font-size: 0.95rem; color: rgba(255,255,255,0.8); margin-bottom: 30px; max-width: 80%; }
.price-large { font-family: var(--font-serif); font-size: 1.8rem; color: var(--gold); font-weight: 600; margin-bottom: 35px; letter-spacing: 2px; text-shadow: 0 2px 15px rgba(197, 164, 126, 0.3); }
.detail-slide { background: rgba(10, 10, 14, 0.85); backdrop-filter: blur(5px); border-left: 1px solid rgba(197, 164, 126, 0.2); }
.detail-title { font-family: var(--font-serif); color: var(--gold); margin-bottom: 25px; font-size: 1.1rem; letter-spacing: 1px; }
.package-features-swipe { list-style: none; padding: 0; margin: 0; text-align: left; flex-grow: 1; }
.package-features-swipe li { margin-bottom: 15px; font-size: 0.9rem; color: var(--white); display: flex; align-items: center; gap: 12px; }
.package-features-swipe li .icon { color: var(--gold); font-weight: bold; }
.package-features-swipe li.disabled { color: var(--text-dim); opacity: 0.6; text-decoration: line-through rgba(197, 164, 126, 0.5); }
.package-features-swipe li.disabled .icon { color: var(--text-dim); }
.package-pro .package-features-swipe li.highlight { color: var(--gold); font-weight: 600; background: linear-gradient(90deg, rgba(197,164,126,0.1) 0%, transparent 100%); padding: 5px 10px; margin-left: -10px; border-left: 2px solid var(--gold); }
.package-swipe-hint { position: absolute; bottom: 15px; left: 0; width: 100%; text-align: center; font-size: 0.7rem; color: var(--gold); text-transform: uppercase; letter-spacing: 3px; opacity: 0.8; z-index: 10; pointer-events: none; animation: pulseHint 2s infinite; }
@keyframes pulseHint { 0%, 100% { opacity: 0.5; transform: translateX(0); } 50% { opacity: 1; transform: translateX(3px); } }
.swipe-hint-bot { margin-top: auto; font-size: 0.7rem; color: var(--text-dim); text-align: center; padding-top: 20px; opacity: 0.6; font-style: italic; }

/* =========================================================
   UI E-COMMERCE NLS (CART & CATALOG)
   ========================================================= */

/* Store Grid E-Book */
.store-card {
    background: rgba(12, 12, 15, 0.6);
    border: 1px solid rgba(197, 164, 126, 0.15);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.store-card:hover {
    transform: translateY(-8px);
    border-color: rgba(197, 164, 126, 0.6);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(197, 164, 126, 0.1);
}
.store-cover {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-bottom: 1px solid rgba(197, 164, 126, 0.1);
    transition: transform 0.5s ease;
}
.store-card:hover .store-cover {
    transform: scale(1.05);
}
.store-info {
    padding: 25px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, rgba(12,12,15,0.8) 0%, rgba(12,12,15,1) 100%);
}
.store-title {
    font-family: var(--font-serif);
    color: #fff;
    font-size: 1.4rem;
    margin: 0 0 5px 0;
    letter-spacing: 0.5px;
}
.store-subtitle {
    color: rgba(197, 164, 126, 0.7);
    font-size: 0.85rem;
    margin-bottom: 20px;
    display: block;
    line-height: 1.4;
}
.store-price {
    font-size: 1.3rem;
    color: #4cff88;
    font-family: var(--font-serif);
    margin-top: auto;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(76, 255, 136, 0.2);
}
.btn-add-cart {
    background: transparent;
    border: 1px solid rgba(197, 164, 126, 0.3);
    color: var(--gold);
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 400;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    position: relative;
    overflow: hidden;
}
.btn-add-cart:hover {
    background: rgba(197, 164, 126, 0.1);
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(197, 164, 126, 0.2);
    color: #fff;
}

/* Sidebar Cart */
#cart-sidebar {
    background: rgba(10, 10, 12, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(197, 164, 126, 0.2) !important;
    box-shadow: -10px 0 30px rgba(0,0,0,0.8);
}
.cart-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px dashed rgba(197, 164, 126, 0.15);
}
.cart-item-cover {
    width: 70px;
    height: 95px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(197, 164, 126, 0.3);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cart-item-title {
    font-family: var(--font-serif);
    color: #fff;
    font-size: 1.1rem;
    margin: 0 0 5px 0;
    letter-spacing: 0.5px;
}
.cart-item-price {
    color: #4cff88;
    font-size: 0.95rem;
    font-family: var(--font-serif);
}
.btn-remove-item {
    background: transparent;
    border: none;
    color: rgba(255, 76, 76, 0.8);
    font-size: 0.8rem;
    cursor: pointer;
    margin-top: 8px;
    padding: 0;
    text-decoration: none;
    align-self: flex-start;
    transition: color 0.3s ease;
}
.btn-remove-item:hover {
    color: #ff4c4c;
    text-decoration: underline;
}

#cart-sidebar.open {
    right: 0 !important;
}
#floating-cart-btn {
    background: linear-gradient(135deg, var(--gold) 0%, #a6845e 100%) !important;
    box-shadow: 0 5px 20px rgba(197,164,126,0.3), inset 0 0 0 1px rgba(255,255,255,0.2) !important;
}
#floating-cart-btn:hover {
    transform: scale(1.05) translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(197,164,126,0.5), inset 0 0 0 1px rgba(255,255,255,0.4) !important;
}

/* =========================================================
   UI FORM ONBOARDING & MODAL CHECKOUT NLS (REVISI HIGH-TICKET)
   ========================================================= */

/* Overlay Gelap dengan Blur Elegan */
.form-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 4, 6, 0.92);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.form-modal-overlay.active {
    display: flex;
    opacity: 1;
}

/* Kontainer Form Premium */
.form-modal-container {
    background: linear-gradient(180deg, #0d0d12 0%, #07070a 100%);
    border: 1px solid rgba(197, 164, 126, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255,255,255,0.05);
    border-radius: 16px;
    width: 100%;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    padding: 50px 45px;
    scrollbar-width: thin;
    scrollbar-color: rgba(197, 164, 126, 0.3) transparent;
}
.form-modal-container::-webkit-scrollbar { width: 6px; }
.form-modal-container::-webkit-scrollbar-thumb { background: rgba(197, 164, 126, 0.3); border-radius: 10px; }

/* Header & Tombol Tutup */
.form-header {
    text-align: center;
    margin-bottom: 40px;
}
.form-header .serif-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.close-modal-btn {
    position: absolute;
    top: 25px;
    right: 30px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}
.close-modal-btn:hover {
    color: var(--gold);
    background: rgba(197, 164, 126, 0.1);
    transform: rotate(90deg);
}

/* Judul Bagian dalam Form (Romawi) */
.form-section-title {
    color: #fff;
    border-bottom: 1px solid rgba(197, 164, 126, 0.15);
    padding-bottom: 12px;
    margin-top: 40px;
    margin-bottom: 25px;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.form-section-title::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    margin-right: 12px;
    vertical-align: middle;
    box-shadow: 0 0 10px var(--gold);
}

/* Input Fields NLS (Glassmorphism Dark) */
.mystic-form .form-group {
    margin-bottom: 25px;
    text-align: left;
}
.mystic-form label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.mystic-form input.nls-input, 
.mystic-form select.nls-input, 
.mystic-form textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.5);
}
.mystic-form input.nls-input::placeholder,
.mystic-form textarea::placeholder {
    color: rgba(255,255,255,0.2);
}
.mystic-form input.nls-input:focus, 
.mystic-form select.nls-input:focus, 
.mystic-form textarea:focus {
    border-color: rgba(197, 164, 126, 0.5);
    background: rgba(197, 164, 126, 0.03);
    box-shadow: 0 0 20px rgba(197, 164, 126, 0.1), inset 0 2px 5px rgba(0,0,0,0.5);
}

/* Kalender & Jam Icons Fix for Dark Mode */
.mystic-form input[type="date"]::-webkit-calendar-picker-indicator,
.mystic-form input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1) opacity(0.6);
    cursor: pointer;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

/* NLS CHECKOUT MODAL KHUSUS (Sesuai Referensi Gambar) */
#checkoutModal .form-modal-container {
    max-width: 500px;
    padding: 50px 40px;
    border-top: 2px solid rgba(197, 164, 126, 0.3); /* Aksen tegas di atas */
}

.checkout-summary-box {
    background: rgba(15, 15, 18, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: left;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

#checkout-item-name {
    color: #fff;
    font-size: 1.2rem;
    font-family: var(--font-sans);
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

#checkout-total-amount {
    color: #4cff88;
    font-size: 1.6rem;
    font-family: var(--font-serif);
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(76, 255, 136, 0.2);
}

.midtrans-secure-badge {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 1px;
}

/* UI NLS AUTHENTIC PAYMENT INSTRUCTION (MIDTRANS CORE) */
.nls-payment-instruction {
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(76, 255, 136, 0.3);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-top: 25px;
    display: none; 
    box-shadow: 0 10px 30px rgba(76, 255, 136, 0.05);
}
.nls-payment-instruction.active {
    display: block;
    animation: fadeIn 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.va-bank-name {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 300;
}
.va-number {
    font-size: 2.2rem;
    color: #4cff88;
    letter-spacing: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    margin: 15px 0;
    user-select: all; 
    background: rgba(76, 255, 136, 0.05);
    border: 1px solid rgba(76, 255, 136, 0.2);
    padding: 15px;
    border-radius: 8px;
    text-shadow: 0 0 10px rgba(76, 255, 136, 0.3);
}
.va-expiry {
    font-size: 0.85rem;
    color: #ffc107;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .form-modal-container { padding: 35px 25px; border-radius: 16px 16px 0 0; margin-top: auto; max-height: 90vh; }
    .form-modal-overlay { align-items: flex-end; padding: 0; }
    #checkoutModal .form-modal-container { padding: 40px 25px; }
}

/* --- FOOTER & SOCIAL MEDIA --- */
.nls-footer { border-top: 1px solid rgba(197, 164, 126, 0.15); background: linear-gradient(to top, rgba(10, 10, 15, 0.9), transparent); padding: 60px 5% 40px; margin-top: 80px; text-align: center; }
.footer-content { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 25px; }
.footer-logo { font-family: var(--font-serif); font-size: 1.5rem; color: var(--gold); letter-spacing: 5px; }
.footer-logo span { display: block; font-family: var(--font-sans); font-size: 0.65rem; color: var(--text-dim); letter-spacing: 3px; text-transform: uppercase; margin-top: 5px; }
.social-links { display: flex; gap: 25px; }
.social-links a { color: var(--text-dim); transition: all 0.4s ease; display: flex; justify-content: center; align-items: center; width: 45px; height: 45px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.02); }
.social-links a:hover { color: var(--bg); background: var(--gold); border-color: var(--gold); transform: translateY(-5px); box-shadow: 0 5px 15px rgba(197, 164, 126, 0.3); }
.footer-copyright { font-size: 0.75rem; color: var(--text-dim); opacity: 0.5; letter-spacing: 1px; }

/* =========================================
   MOBILE OPTIMIZATION (Mystical Nusantara)
   ========================================= */
@media (max-width: 768px) { 
    .cursor-dot, .cursor-outline { display: none !important; }
    .navbar { padding: 15px 20px; }
    .nav-trigger { display: flex; }
    .nav-trigger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .nav-trigger.active span:nth-child(2) { opacity: 0; }
    .nav-trigger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

    .nav-links { position: fixed; top: 0; right: -100%; width: 75%; height: 100vh; background: rgba(10, 10, 14, 0.98); backdrop-filter: blur(15px); display: flex; flex-direction: column; justify-content: center; align-items: center; transition: right 0.4s ease-in-out; z-index: 999; border-left: 1px solid rgba(197, 164, 126, 0.2); }
    .nav-links.active { right: 0; }
    .nav-links li { margin: 20px 0; }
    
    .form-section { padding: 90px 5% 40px; } 
    .form-container { padding: 30px 20px; }
    
    /* Lite Scan HP Fixes (dari file awal Anda) */
    .scan-card-wrapper { padding: 25px 15px !important; }
    .scan-card-wrapper h2 { font-size: 1.6rem !important; }
    .scan-input-group { flex-direction: column !important; gap: 12px !important; width: 100% !important; }
    .scan-date-input, .scan-btn-submit { width: 100% !important; box-sizing: border-box !important; }
    .scan-date-input { text-align: center !important; }
    .result-grid { grid-template-columns: 1fr !important; }

    .serif-title { font-size: 2rem; }
    .form-row { flex-direction: column; gap: 0; }
    
    .form-modal-container { padding: 40px 20px; width: 95%; }
    .close-modal-btn { right: 15px; top: 15px; }

    /* MEMBERSHIP GRID MOBILE FIXES */
    .membership-grid { flex-direction: column; align-items: center; gap: 20px; }
    .membership-card { width: 100%; max-width: 320px; padding: 25px 20px; transform: none !important; }
    .membership-card.featured:hover { transform: translateY(-5px) !important; }
    .card-title { font-size: 1.3rem; }
    .price-amount { font-size: 1.8rem; }
    .feature-list { font-size: 0.8rem; }

    .catalog-section { padding: 80px 5% 40px; }
    .package-card { height: 460px; } 
    .slide-content-wrapper { padding: 30px 20px; }
    .price-large { font-size: 1.5rem; margin-bottom: 25px; }
    .package-card h4 { font-size: 1.6rem; }
    .package-sub { max-width: 100%; font-size: 0.85rem; }

    #ebook-container { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
    #ebook-container .product-card { padding: 15px 12px; }
    #ebook-container .product-card h4 { font-size: 1.1rem; margin-bottom: 8px; }
    #ebook-container .product-card p { font-size: 0.75rem; margin-bottom: 10px; }
    #ebook-container .product-card .price { font-size: 0.95rem; margin-bottom: 15px; }
    #ebook-container .product-card .open-form-btn { font-size: 0.65rem; padding: 8px 5px; letter-spacing: 1px; }

    .main-title { font-size: 2.8rem; letter-spacing: 5px; line-height: 1.2; }
    .title-top { font-size: 1.1rem; }
    .tagline { font-size: 0.85rem; letter-spacing: 2px; }
    .section-text-center, .foundation-split, .mystical-section, .alignment-cards-section, .lenses-section, .matrix-section, .comparison-section, .journey-section, .legacy-section { padding: 80px 7% 40px; }
    .foundation-split { grid-template-columns: 1fr; gap: 60px; }
    .vertical-divider { width: 60%; height: 1px; margin: 0 auto; background: linear-gradient(to right, transparent, var(--gold-dim), transparent); }
    .cosmic-compass-container { width: 280px; height: 280px; margin-bottom: 30px; }
    .mystical-title { font-size: 1.8rem; }
    .mystical-sub { font-size: 1rem; padding: 0 10px; }
    .cards-grid-5 { flex-direction: column; align-items: center; gap: 25px; }
    .mystic-card { width: 100%; max-width: 340px; min-height: auto; padding: 35px 25px; }
    .lens-card { width: 100%; clip-path: none; border-radius: 2px; padding: 30px 20px; }
    .matrix-grid { grid-template-columns: 1fr; gap: 20px; }
    .matrix-item { padding: 25px 20px; }
    .matrix-item h5 { font-size: 1.2rem; }
    .comparison-container { flex-direction: column; gap: 20px; }
    .comp-box { width: 100%; padding: 30px 20px; }
    .comp-vs { margin: 10px 0; transform: scale(0.8); }
    .journey-steps { flex-direction: column; align-items: center; gap: 30px; padding-top: 20px; }
    .journey-steps::before { left: 50%; top: 0; width: 1px; height: 100%; background: linear-gradient(to bottom, transparent, var(--gold-dim), transparent); }
    .step-node { width: 100%; flex-direction: row; justify-content: flex-start; padding-left: 20%; gap: 20px; }
    .step-node p { text-align: left; font-size: 0.8rem; }
    .cta-origin { height: auto; padding: 100px 7%; }
    .cta-sub { font-size: 1.3rem; }
    .cta-link-portal { padding: 15px 30px; font-size: 0.7rem; letter-spacing: 3px; }
} 

@media (max-width: 600px) {
    .nls-footer { padding: 50px 20px 30px; margin-top: 40px; }
    .social-links { gap: 15px; }
    .social-links a { width: 40px; height: 40px; }
}

@media (max-height: 500px) and (orientation: landscape) {
    .form-section { padding: 100px 5% 40px; }
    .nav-links.active { overflow-y: auto; padding: 50px 0; justify-content: flex-start; }
}



/* =========================================
   NUSANTARA VINTAGE: MEMBERSHIP CARDS
   ========================================= */

/* Hapus border neon dan ganti dengan tekstur gelap kuno */
.membership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px;
}

.membership-card {
    /* Latar belakang arang gelap menyerupai kayu kuno/batu */
    background: linear-gradient(145deg, #171310, #0a0807);
    border: 1px solid #4a3b2c;
    border-radius: 4px; /* Sudut lebih tajam, tidak terlalu bulat */
    padding: 35px 25px;
    position: relative;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.8), 0 10px 20px rgba(0,0,0,0.6);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

/* Bingkai ganda (Inner Frame) ala cermin kuno/prasasti */
.membership-card::before {
    content: '';
    position: absolute;
    top: 6px; left: 6px; right: 6px; bottom: 6px;
    border: 1px solid rgba(197, 164, 126, 0.15);
    pointer-events: none;
    z-index: 0;
}

/* Efek Hover: Cahaya mistis keemasan */
.membership-card:hover {
    transform: translateY(-5px);
    border-color: #c5a47e;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.8), 0 10px 30px rgba(197, 164, 126, 0.15);
}

/* Badge (Dulu Hijau Neon, sekarang Pita Terakota/Emas) */
.featured-badge {
    background: #8c4228; /* Warna Terakota/Bata Kuno */
    color: #e8dcc4; /* Warna Pargamen/Kertas Tua */
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 15px;
    border-radius: 2px;
    display: inline-block;
    margin-bottom: 15px;
    border: 1px solid #a35940;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    position: relative;
    z-index: 1;
}

/* Tipografi Judul */
.card-title {
    font-size: 1.8rem;
    color: #c5a47e; /* Tarnished Gold */
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    position: relative;
    z-index: 1;
}

.card-subtitle {
    color: rgba(232, 220, 196, 0.6);
    font-size: 0.85rem;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* Bagian Harga */
.card-price-section {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(197, 164, 126, 0.2);
    position: relative;
    z-index: 1;
}

.price-currency { color: rgba(197, 164, 126, 0.6); font-size: 0.9rem; }
.price-amount { 
    color: #e8dcc4; 
    font-size: 2.8rem; 
    font-family: 'Cormorant Garamond', serif; 
    font-weight: 300;
}
.price-period { color: rgba(232, 220, 196, 0.5); font-size: 0.8rem; }

/* Daftar Fitur */
.feature-list {
    list-style: none;
    flex-grow: 1;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.feature-list li {
    font-size: 0.9rem;
    color: rgba(232, 220, 196, 0.8); /* Warna Pargamen */
    margin-bottom: 12px;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
}

/* Tombol Pilih Paket */
.membership-card .open-form-btn {
    background: rgba(197, 164, 126, 0.05);
    border: 1px solid #c5a47e;
    color: #c5a47e;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    letter-spacing: 2px;
    padding: 12px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.membership-card .open-form-btn:hover:not([disabled]) {
    background: #c5a47e;
    color: #171310;
    box-shadow: 0 0 15px rgba(197, 164, 126, 0.4);
}

.membership-card .open-form-btn[disabled] {
    border-color: #4a3b2c;
    color: #4a3b2c;
    background: transparent;
}



/* =========================================
   NUSANTARA VINTAGE: THE VAULT CARDS
   ========================================= */
.vault-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 35px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.vault-card {
    background: linear-gradient(145deg, #171310, #0a0807);
    border: 1px solid #4a3b2c;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8), 0 10px 20px rgba(0,0,0,0.6);
    transition: transform 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
}

.vault-card::before {
    content: ''; position: absolute; top: 5px; left: 5px; right: 5px; bottom: 5px;
    border: 1px solid rgba(197, 164, 126, 0.1); pointer-events: none;
}

.vault-card:hover {
    border-color: #c5a47e;
    transform: translateY(-5px);
}

.vault-cover {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border: 1px solid rgba(197, 164, 126, 0.3);
    border-radius: 2px;
    margin-bottom: 20px;
    filter: brightness(0.9) contrast(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.vault-title {
    font-family: 'Cormorant Garamond', serif;
    color: #e8dcc4;
    font-size: 1.4rem;
    margin-bottom: 5px;
    line-height: 1.3;
}

.vault-subtitle {
    color: rgba(232, 220, 196, 0.6);
    font-size: 0.85rem;
    margin-bottom: 15px;
    font-style: italic;
    display: block;
}

.vault-price {
    color: #c5a47e;
    font-weight: 300;
    font-size: 1.3rem;
    font-family: 'Cormorant Garamond', serif;
    display: block;
    margin-bottom: 20px;
    margin-top: auto; /* Mendorong harga ke bawah */
}

.btn-add-vault {
    background: rgba(140, 66, 40, 0.1);
    border: 1px solid #8c4228;
    color: #e8dcc4;
    padding: 12px;
    width: 100%;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-add-vault:hover {
    background: #8c4228;
    color: #fff;
    box-shadow: 0 0 15px rgba(140, 66, 40, 0.5);
}

/* Penyesuaian Item di dalam Sidebar Peti Pustaka */
.cart-item { display: flex; gap: 15px; margin-bottom: 20px; border-bottom: 1px dashed rgba(197,164,126,0.2); padding-bottom: 15px; }
.cart-item-cover { width: 60px; height: 85px; object-fit: cover; border: 1px solid #4a3b2c; border-radius: 2px; }
.cart-item-details { flex: 1; text-align: left; }
.cart-item-title { font-family: 'Cormorant Garamond', serif; color: #e8dcc4; font-size: 1.1rem; margin-bottom: 3px; }
.cart-item-price { color: #c5a47e; font-size: 0.9rem; }
.btn-remove-item { background: transparent; border: none; color: #ff4c4c; font-size: 0.8rem; cursor: pointer; padding: 0; margin-top: 8px; text-decoration: underline; font-family: 'Inter', sans-serif; }