:root {
    --bg-main: #0B0E11;
    --bg-card: #181A20;
    --bg-card-hover: #2B313A;
    --primary-gold: #F0B90B;
    --primary-gold-hover: #FCD535;
    --text-main: #EAECEF;
    --text-muted: #848E9C;
    --border-color: #2B313A;
    --border-gold: rgba(240, 185, 11, 0.35);
    --gold-glow: 0 0 18px rgba(240, 185, 11, 0.45);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
    color: var(--primary-gold-hover);
    text-shadow: 0 0 8px rgba(240, 185, 11, 0.4);
}

/* NAVBAR */
.navbar {
    background-color: #12161C;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-gold);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

/* CONTAINER & CARDS */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    flex: 1;
    width: 100%;
}

.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    border-color: var(--border-gold);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* FORM ELEMENTS */
.form-group {
    margin-bottom: 1.25rem;
}

label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

input[type="text"], input[type="email"], input[type="password"], select, textarea {
    width: 100%;
    background-color: #0B0E11;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 2px rgba(240, 185, 11, 0.2);
}

/* BUTTONS */
.btn-gold {
    background-color: var(--primary-gold);
    color: #0B0E11;
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    display: inline-block;
    transition: all 0.25s ease;
}

.btn-gold:hover {
    background-color: var(--primary-gold-hover);
    box-shadow: var(--gold-glow);
    color: #000;
}

/* FLASH ALERTS */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.alert-success { background: rgba(14, 203, 129, 0.15); border: 1px solid #0ECB81; color: #0ECB81; }
.alert-danger { background: rgba(246, 70, 93, 0.15); border: 1px solid #F6465D; color: #F6465D; }
.alert-info { background: rgba(240, 185, 11, 0.15); border: 1px solid var(--primary-gold); color: var(--primary-gold); }

/* CAKRA EMAS OVERLAY LOADER */
#chakra-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 14, 17, 0.88);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    backdrop-filter: blur(4px);
}

.chakra-spinner {
    width: 90px;
    height: 90px;
    animation: rotateChakra 2s linear infinite;
    filter: drop-shadow(0 0 15px rgba(240, 185, 11, 0.8));
}

@keyframes rotateChakra {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 3-GROUP FOOTER */
.site-footer {
    background-color: #080A0D;
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem 1.5rem;
    margin-top: auto;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-col h4 {
    color: var(--primary-gold);
    font-size: 1.05rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 1.5rem;
}

/* ====== TAMBAHAN MODIFIKASI SANGAR & FUTURISTIK ====== */
.brand-mesin {
    color: #FFFFFF;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.brand-programmer {
    color: #F0B90B;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-shadow: 0 0 16px rgba(240, 185, 11, 0.7);
}

.brand-badge {
    background: linear-gradient(135deg, #F0B90B, #FFA800);
    color: #000;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
    letter-spacing: 0.5px;
}

/* Central Hero Logo Animation */
.hero-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.cyber-emblem {
    width: 110px;
    height: 110px;
    filter: drop-shadow(0 0 25px rgba(240, 185, 11, 0.65));
    animation: emblemPulse 4s ease-in-out infinite alternate;
}

@keyframes emblemPulse {
    0% {
        transform: scale(0.96);
        filter: drop-shadow(0 0 18px rgba(240, 185, 11, 0.45));
    }
    100% {
        transform: scale(1.04);
        filter: drop-shadow(0 0 35px rgba(252, 213, 53, 0.85));
    }
}

/* Judul Dual Tone Gradient */
.hero-title {
    font-size: 2.5rem;
    line-height: 1.25;
    margin-bottom: 1rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.title-white {
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

.title-gold {
    background: linear-gradient(135deg, #FCD535 0%, #F0B90B 50%, #FF9800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(240, 185, 11, 0.4));
}

/* High-Tech Feature Badges */
.tech-badges-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin: 1.5rem 0 2rem;
}

.tech-badge {
    background: rgba(24, 26, 32, 0.85);
    border: 1px solid rgba(240, 185, 11, 0.35);
    color: #EAECEF;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.tech-badge:hover {
    border-color: #F0B90B;
    box-shadow: 0 0 12px rgba(240, 185, 11, 0.4);
    transform: translateY(-2px);
    color: #FCD535;
}
