/* --- Google Fonts & Core Reset --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

html {
    scroll-behavior: smooth;
}

/* --- Variabel Tema (Bio-Link Minimalis Premium) --- */
.dark-theme {
    --bg-color: #0d0d11;
    --bg-pattern: rgba(255, 255, 255, 0.015);
    --card-bg: #14141c;
    --card-border: rgba(255, 255, 255, 0.06);
    --text-color: #f3f4f6;
    --text-muted: #8e929b;
    --primary: #ff4757; /* Pink Furry Glow */
    --secondary: #00d2d3;
    --accent-glow: rgba(255, 71, 87, 0.15);
}

.light-theme {
    --bg-color: #f1f3f7;
    --bg-pattern: rgba(0, 0, 0, 0.015);
    --card-bg: #ffffff;
    --card-border: rgba(0, 0, 0, 0.07);
    --text-color: #0f172a;
    --text-muted: #64748b;
    --primary: #ff4757;
    --secondary: #00a8ff;
    --accent-glow: rgba(255, 71, 87, 0.05);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 40px 20px 120px 20px;
    background-image: repeating-linear-gradient(45deg, var(--bg-pattern) 0px, var(--bg-pattern) 2px, transparent 2px, transparent 10px);
}

/* --- 🧊 Loading Screen Kubus Realistis Glow --- */
.loading-screen {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #09090d;
    display: flex; justify-content: center; align-items: center;
    z-index: 9999; opacity: 1;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.cube-wrapper { text-align: center; }
.cube-wrapper h1 {
    color: #fff; font-weight: 800; margin-top: 35px; font-size: 1.6rem;
    letter-spacing: 3px; text-shadow: 0 0 15px var(--primary);
}

.cube {
    width: 55px; height: 55px; margin: 0 auto;
    transform-style: preserve-3d; animation: putarKubus 3s infinite ease-in-out;
}

.face {
    position: absolute; width: 55px; height: 55px;
    background: rgba(255, 71, 87, 0.1); border: 2px solid var(--primary);
    box-shadow: 0 0 20px var(--accent-glow); border-radius: 8px;
}

.front  { transform: translateZ(27.5px); }
.back   { transform: rotateY(180deg) translateZ(27.5px); }
.right  { transform: rotateY(90deg) translateZ(27.5px); }
.left   { transform: rotateY(-90deg) translateZ(27.5px); }
.top    { transform: rotateX(90deg) translateZ(27.5px); }
.bottom { transform: rotateX(-90deg) translateZ(27.5px); }

@keyframes putarKubus {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    50% { transform: rotateX(180deg) rotateY(180deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

/* --- 📱 Container Utama Ala Bento/Bio-Link --- */
.bio-wrapper {
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 24px;
    overflow: hidden;
    position: relative;
}

/* --- Profile Card --- */
.profile-card {
    text-align: center;
    padding: 35px 24px;
}

.banner-area {
    width: 100%; height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    position: absolute; top: 0; left: 0; opacity: 0.8;
}

.profile-avatar-wrapper {
    position: relative; margin-top: 35px; display: inline-block;
}

.nav-logo {
    width: 95px; height: 95px; object-fit: cover;
    border-radius: 50%; border: 4px solid var(--card-bg);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    pointer-events: none; user-select: none;
}

.verified-badge {
    position: absolute; bottom: 5px; right: 5px;
    background-color: #2f80ed; color: #fff;
    width: 22px; height: 22px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center; font-size: 11px;
    border: 2px solid var(--card-bg);
}

.profile-card h1 { font-size: 1.6rem; font-weight: 800; margin-top: 15px; }

/* Struktur Username + Centang Biru */
.username {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--primary); 
    font-size: 0.9rem; 
    font-weight: 600;
}

.name-verified {
    color: #2f80ed; 
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    0% { filter: drop-shadow(0 0 2px rgba(47, 128, 237, 0.4)); }
    100% { filter: drop-shadow(0 0 6px rgba(47, 128, 237, 0.8)); }
}

.bio-text {
    background: rgba(0,0,0,0.05); border-left: 3px solid var(--primary);
    padding: 12px; border-radius: 12px; margin-top: 20px;
    font-size: 0.9rem; text-align: left; color: var(--text-muted); line-height: 1.5;
}
.dark-theme .bio-text { background: rgba(255,255,255,0.02); }

/* --- Slider Produk / Layanan --- */
.gallery-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px;
}
.gallery-header h2 { font-size: 1.2rem; font-weight: 700; }
.slider-nav { display: flex; gap: 8px; }
.slider-nav button {
    background: transparent; border: 1px solid var(--card-border); color: var(--text-color);
    width: 35px; height: 35px; border-radius: 50%; cursor: pointer;
}
.slider-nav button:hover { border-color: var(--primary); color: var(--primary); }

.slider-container {
    overflow-x: auto; display: flex; gap: 15px;
    scroll-behavior: smooth; scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 5px;
}
.slider-container::-webkit-scrollbar { display: none; }

.product-item {
    min-width: 85%; scroll-snap-align: start;
    background: rgba(0,0,0,0.02); border: 1px solid var(--card-border);
    border-radius: 20px; padding: 24px 20px 20px 20px; display: flex; flex-direction: column; gap: 12px;
    position: relative;
}
.dark-theme .product-item { background: rgba(255,255,255,0.01); }

.badge-tag {
    position: absolute; top: 12px; right: 15px;
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
    background: rgba(255, 71, 87, 0.1); color: var(--primary);
    padding: 3px 8px; border-radius: 8px; border: 1px solid rgba(255, 71, 87, 0.2);
}

.product-item i { font-size: 2rem; color: var(--secondary); margin-top: 10px; width: fit-content;}
.product-item h3 { font-size: 1.1rem; font-weight: 700; }
.product-item p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 10px; }

.btn-buy {
    width: 100%; padding: 12px; background: transparent; border: 1px solid var(--primary);
    color: var(--primary); border-radius: 14px; font-weight: 700; cursor: pointer;
    text-align: center; text-decoration: none; font-size: 0.9rem;
    display: block; box-sizing: border-box;
}
.btn-buy:hover { background: var(--primary); color: #fff; box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3); }

/* --- FAQ Accordion Section --- */
.faq-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 15px; display: flex; align-items: center; gap: 8px;}
.faq-box { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--card-border); border-radius: 16px; padding: 15px; }
.faq-question { display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.faq-question h4 { font-size: 0.95rem; font-weight: 600; }
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding-top 0.3s;
    font-size: 0.85rem; color: var(--text-muted); line-height: 1.5;
}
.faq-item.active .faq-answer { max-height: 120px; padding-top: 10px; }
.faq-item.active { border-color: var(--primary); }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--primary); }

/* --- Quote Dev --- */
.quote-card { font-style: italic; color: var(--text-muted); font-size: 0.85rem; text-align: center; }

/* --- Menu Tombol Kontrol Kanan Bawah --- */
.fixed-controls {
    position: fixed; bottom: 30px; right: 30px;
    display: flex; flex-direction: column; gap: 12px; z-index: 100;
}

.control-btn {
    width: 50px; height: 50px; border-radius: 50%;
    background-color: var(--card-bg); border: 1px solid var(--card-border);
    color: var(--text-color); display: flex; justify-content: center; align-items: center;
    font-size: 18px; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-decoration: none; position: relative;
}
.control-btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.control-btn.whatsapp-btn { background-color: #25d366; color: white; border: none; font-size: 22px; }
.control-btn.whatsapp-btn:hover { background-color: #20ba5a; color: white; }

.tooltip-text {
    visibility: hidden; background-color: #111; color: #fff; font-size: 0.75rem;
    padding: 4px 10px; border-radius: 6px; position: absolute; right: 125%; white-space: nowrap; opacity: 0; transition: 0.2s;
}
.control-btn:hover .tooltip-text { visibility: visible; opacity: 1; }

@media(max-width: 768px) {
    .fixed-controls { bottom: 20px; right: 20px; }
}

