/* ==========================================
   Tema "Dark Mode Neon" (Versi Cerah & Menyala)
   ========================================== */
:root {
    --bg-main: #1e293b;        /* Slate Blue Terang, bukan hitam pekat */
    --bg-card: rgba(51, 65, 85, 0.75); /* Kotak form & menu dibuat terang */       
    --bg-card-hover: rgba(71, 85, 105, 0.9);
    
    --neon-green: #00ff66;     
    --neon-orange: #ff6b00;    
    --neon-cyan: #00f0ff;      /* Cyan ekstra tajam */
    --neon-blue: #3b82f6;      
    
    --text-light: #ffffff;     /* Putih solid */
    --text-muted: #e2e8f0;     /* Tulisan deskripsi sangat cerah */
    
    --border-color: rgba(255, 255, 255, 0.25); /* Garis pembatas putih tegas */
    --border-hover: rgba(0, 240, 255, 0.8);    
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   Reset & Dasar dengan Latar Belakang Sangat Cerah
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-light);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;

    /* Intensitas & sebaran warna Gradasi Neon kuat agar latar belakang hidup */
    background-image: 
        radial-gradient(at 0% 0%, rgba(0, 240, 255, 0.35) 0px, transparent 60%),
        radial-gradient(at 100% 0%, rgba(59, 130, 246, 0.4) 0px, transparent 65%),
        radial-gradient(at 50% 100%, rgba(255, 107, 0, 0.25) 0px, transparent 70%);
    background-attachment: fixed;
}

/* Efek Pola Grid Garis Halus Cyberpunk */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 45px 45px;
    z-index: -1;
    pointer-events: none;
}

/* Animasi Aura Cahaya Bergerak */
body::after {
    content: '';
    position: fixed;
    top: 15%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.2) 0%, transparent 75%);
    z-index: -1;
    pointer-events: none;
    animation: ambientGlow 10s ease-in-out infinite alternate;
}

@keyframes ambientGlow {
    0% { transform: translate(0px, 0px) scale(1); }
    50% { transform: translate(70px, 50px) scale(1.2); }
    100% { transform: translate(-40px, 70px) scale(0.9); }
}

.navbar {
    background-color: rgba(30, 41, 59, 0.75); 
    backdrop-filter: blur(12px);              
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 0;                          
    border-bottom: 1px solid var(--border-color);
    position: fixed;   /* sebelumnya: relative */
    top: 0;             /* baru */
    left: 0;             /* baru */
    width: 100%;         /* baru */
    z-index: 1000;
    height: 60px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--neon-cyan);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ==========================================
   Hero Full Screen — Split Asymmetric Card Layout
   ========================================== */
.hero-wrapper {
    min-height: calc(100vh - 60px);
    margin-top: 60px; /* offset karena navbar sekarang fixed */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 40px 0;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
}

.hero-content {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.02);
    align-self: flex-start;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    background-color: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--neon-green);
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.text-neon {
    color: var(--neon-cyan);
}

.hero p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 480px;
}

/* Tombol CTA */
.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.5);
    filter: brightness(1.1);
}

.btn-hero-outline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.btn-hero-outline:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
    color: var(--neon-cyan);
    background: rgba(255, 255, 255, 0.03);
}

/* Kartu Foto: frame, tilt halus, glow neon, badge mengambang */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-photo-card {
    position: relative;
    width: 100%;
    max-width: 460px;
}

.hero-photo-card::before {
    content: '';
    position: absolute;
    inset: -18px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.35) 0%, transparent 70%);
    z-index: -1;
    border-radius: 24px;
    filter: blur(10px);
}

.hero-photo-card img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), 0 0 35px rgba(0, 240, 255, 0.2);
    transform: rotate(-2deg);
    transition: var(--transition);
    animation: floating 6s ease-in-out infinite;
}

.hero-photo-card:hover img {
    animation-play-state: paused;
    transform: rotate(0deg) scale(1.02);
}

.hero-photo-badge {
    position: absolute;
    bottom: -16px;
    left: -16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-hover);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-light);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-photo-badge i {
    color: var(--neon-cyan);
}

@keyframes floating {
    0% { transform: rotate(-2deg) translateY(0px); }
    50% { transform: rotate(-2deg) translateY(-12px); }
    100% { transform: rotate(-2deg) translateY(0px); }
}
/* ==========================================
   Section Main Content & Card Menu
   ========================================== */
.main-content {
    padding-top: 100px;
}

.section-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 35px;
}

.section-subtitle {
    font-size: 0.75rem;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-subtitle::before, .section-subtitle::after {
    content: '';
    height: 2px;
    width: 20px;
    background-color: var(--neon-cyan);
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    padding-bottom: 80px;
}

.card-menu {
    background: var(--bg-card);
    backdrop-filter: blur(16px); 
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 18px;
    text-decoration: none;
    color: var(--text-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.card-menu:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 10px 25px rgba(0, 240, 255, 0.25); 
}

.icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 1rem;
    color: #000;
}

.card-menu:nth-child(1) .icon-wrapper { background: var(--neon-cyan); }
.card-menu:nth-child(2) .icon-wrapper { background: var(--neon-orange); }
.card-menu:nth-child(3) .icon-wrapper { background: var(--neon-green); }
.card-menu:nth-child(4) .icon-wrapper { background: var(--neon-blue); color: #fff; }
.card-menu:nth-child(5) .icon-wrapper { background: #ff3366; color: #fff; }
.card-menu:nth-child(6) .icon-wrapper { background: #9d4edd; color: #fff; }

.card-menu h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.card-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.4;
}

.card-link {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==========================================
   Form Registrasi Premium
   ========================================== */
.form-container {
    max-width: 650px;
    margin: 40px auto 80px auto;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.form-container h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.form-container p.form-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.form-control, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.85) !important; 
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 8px;
    color: #ffffff !important;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-control:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
    background: rgba(15, 23, 42, 0.95) !important;
}

.form-group select option {
    background-color: #0f172a;
    color: var(--text-light);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    border: none;
    border-radius: 8px;
    color: #000;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.5);
    filter: brightness(1.1);
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 22px;
    line-height: 1.5;
}
.alert-success {
    background: rgba(0, 255, 102, 0.15);
    border: 1px solid var(--neon-green);
    color: #5eff9b;
}
.alert-danger {
    background: rgba(255, 51, 102, 0.15);
    border: 1px solid #ff3366;
    color: #ff7597;
}

/* ==========================================
   Footer Premium
   ========================================== */
.footer {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-top: 1px solid rgba(0, 240, 255, 0.2); 
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3); 
    text-align: center;
    padding: 24px 0;
    margin-top: auto;
    font-size: 0.82rem;
    color: #cbd5e1;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 8px; 
}

.footer-top {
    font-weight: 600;
    color: var(--text-light);
}

.footer-bottom {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer strong {
    color: var(--neon-cyan);
}

/* ==========================================
   Responsive Mobile & Tablet
   ========================================== */
@media (max-width: 768px) {
    .container { width: 92%; }

    .hero-wrapper {
        min-height: auto;
        margin-top: 60px;
        padding: 30px 0 20px;
    }

    .hero {
        flex-direction: column-reverse;
        text-align: center;
        gap: 25px;
    }

    .hero-content {
        align-items: center;
    }

    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 0.9rem; margin-left: auto; margin-right: auto; }
    .hero-badge { align-self: center; }

    .hero-photo-card { max-width: 260px; }
    .hero-photo-card img { transform: rotate(-2deg); }
    .hero-photo-badge { font-size: 0.68rem; padding: 6px 12px; bottom: -12px; left: -10px; }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .btn-hero { width: 100%; }

    .section-title { font-size: 1.4rem; }
    .form-container { padding: 25px 20px; margin: 20px auto 60px auto; }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .nav-menu a span { display: none; }
    .logo { font-size: 0.9rem; gap: 6px; }
    .logo-icon { width: 28px; height: 28px; }
    .menu-grid { grid-template-columns: 1fr; }
}