/* ========== VARIABLES & BASE STYLES ========== */
:root {
    --primary: #a855f7;
    --secondary: #ec4899;
    --accent: #4ade80;
    --dark: #0d0c1d;
    --darker: #070616;
    --light: #c4b5fd;
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to bottom, var(--dark) 0%, #2b1547 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========== BACKGROUND ELEMENTS ========== */
.blur-biru {
    position: fixed;
    top: -10%;
    right: -10%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, rgba(168, 85, 247, 0) 70%);
    filter: blur(40px);
    z-index: 1;
    pointer-events: none;
}

.blur-pink {
    position: fixed;
    bottom: -10%;
    left: -10%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, rgba(236, 72, 153, 0) 70%);
    filter: blur(40px);
    z-index: 1;
    pointer-events: none;
}

/* ========== HERO SECTIONS ========== */
.hero-parallax {
    position: relative;
    height: 100vh;
    background: linear-gradient(rgba(13, 12, 29, 0.7), rgba(13, 12, 29, 0.7)),
        url("../images/paralax.png") center/cover fixed no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-parallax .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(13, 12, 29, 0.7), rgba(13, 12, 29, 0.85));
    z-index: 1;
}

.hero-parallax .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-parallax h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-parallax p {
    font-size: 1.2rem;
    color: var(--light);
    margin-bottom: 2rem;
}

/* ========================= */
/* NAVBAR STYLES */
/* ========================= */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.navbar-brand img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: contain;
}

.brand-text {
    font-weight: 700;
    font-size: 1.3rem;
    color: #fff;
}

.brand-text .flow {
    background: linear-gradient(90deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: #fff !important;
    margin: 0 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #c084fc !important;
}

.custom-navbar {
    z-index: 4000;
    background: rgba(10, 10, 25, 0.9) !important;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(148, 163, 253, 0.25);
}

.custom-navbar .navbar-brand {
    letter-spacing: 0.12em;
}

.glass-toggle {
    border-radius: 999px;
    border: 1px solid rgba(168, 85, 247, 0.7);
    background: radial-gradient(circle at top left,
            rgba(168, 85, 247, 0.45),
            rgba(15, 23, 42, 0.9));
    padding: 6px 10px;
    backdrop-filter: blur(14px);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.6);
}

.glass-toggle .navbar-toggler-icon {
    filter: brightness(0) invert(1);
    width: 22px;
    height: 22px;
}

/* Mobile & Tablet: show hamburger, hide desktop nav */
@media (max-width: 991px) {
    #edgeToggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .navbar-nav.d-lg-flex {
        display: none !important;
    }
}

/* Desktop: hide hamburger & edge sidebar */
@media (min-width: 992px) {
    #edgeToggle {
        display: none !important;
    }
}

/* ========================= */
/* EDGE PANEL STYLES */
/* ========================= */
.edge-sidebar {
    position: fixed;
    top: 50%;
    left: 30px;
    transform: translate(-130%, -50%);
    width: 150px;
    height: 80vh;
    padding: 16px 16px 20px;
    border-radius: 24px;
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.9),
            rgba(24, 18, 45, 0.95));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 85, 247, 0.7);
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease-out, opacity 0.25s ease-out;
    z-index: 3500;
}

.edge-sidebar.active {
    transform: translate(0, -50%);
    opacity: 1;
    pointer-events: auto;
    animation: edgeBounce 0.35s ease-out;
}

@keyframes edgeBounce {
    0% {
        transform: translate(-140%, -50%);
    }

    60% {
        transform: translate(4%, -50%);
    }

    100% {
        transform: translate(0, -50%);
    }
}

.edge-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(148, 163, 253, 0.25);
}

.edge-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #e5e7eb;
}

.edge-grid {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.edge-item {
    text-decoration: none;
    color: #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 6px;
    border-radius: 18px;
    background: radial-gradient(circle at top,
            rgba(79, 70, 229, 0.35),
            rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(129, 140, 248, 0.45);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.edge-item:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 0 22px rgba(168, 85, 247, 0.9),
        0 0 30px rgba(56, 189, 248, 0.25);
    border-color: rgba(244, 114, 182, 0.7);
}

.edge-icon {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top left,
            rgba(244, 114, 182, 0.4),
            rgba(30, 64, 175, 0.9));
}

.edge-icon i {
    font-size: 1.3rem;
    color: white;
    opacity: 0.9;
}

.edge-label {
    font-size: 0.8rem;
    text-align: center;
}

/* Desktop: hide edge sidebar */
@media (min-width: 992px) {
    .edge-sidebar {
        display: none !important;
    }
}

/* ========================= */
/* FOOTER STYLES */
/* ========================= */
.footer {
    background: #0D0C1D;
    color: #fff;
    text-align: center;
    padding: 2rem 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: contain;
}

.footer-logo h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.footer-logo .highlight {
    background: linear-gradient(90deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0;
    padding: 0;
    list-style: none;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #e272ff;
}

.footer hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 1rem auto;
    width: 80%;
}

.footer-text {
    max-width: 700px;
    margin: 0 auto 1.5rem auto;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #bbb;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-social a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #e272ff;
}