/* ==========================================================================
   DESIGN SYSTEM & RESET
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Color Palette */
    --bg-color: #060509;
    --text-color: #ffffff;
    --text-secondary: #8c8b96;
    
    --accent-color: #9b5cf6;
    --accent-color-rgb: 155, 92, 246;
    --accent-glow: rgba(155, 92, 246, 0.22);
    --accent-glow-strong: rgba(155, 92, 246, 0.45);
    --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #a855f7 40%, #c084fc 100%);
    --accent-gradient-hover: linear-gradient(135deg, #7c3aed 0%, #9333ea 40%, #a855f7 100%);
    --accent-shadow: 0 8px 24px rgba(155, 92, 246, 0.4), 0 0 0 1px rgba(155, 92, 246, 0.15);
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(255, 255, 255, 0.15);
    
    --card-bg: rgba(15, 13, 22, 0.65);
    --card-bg-solid: #0d0b13;
    --card-bg-light: #161320;
    --card-bg-hover: rgba(25, 21, 38, 0.8);
    
    /* Grayscale Tonal Palette for Mockups */
    --gray-100: #f8f9fa;
    --gray-300: #dee2e6;
    --gray-500: #adb5bd;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --gray-950: #121214;
    --gray-mockup-bg: #141416;
    --gray-mockup-card: #1c1c1f;
    --gray-mockup-card-light: #2a2a2e;
    
    /* Fonts */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Layout */
    --container-width: 1300px;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) var(--bg-color);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
    transition: var(--transition-fast);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* ==========================================================================
   AMBIENT GLOWS (Brighter and larger violet/indigo)
   ========================================================================== */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    filter: blur(140px);
    opacity: 0.65; /* Increased opacity from 0.45 to brighten up layout */
    mix-blend-mode: screen;
}

/* Interactive Cursor Glow Background (Spotlight follow effect) */
.cursor-glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -2; /* Above basic black bg, below grids & content */
    background: radial-gradient(
        500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(155, 92, 246, 0.18),
        transparent 80%
    );
    transition: background 0.08s ease;
}

.glow-1 {
    width: 65vw;
    height: 65vw;
    top: -20vw;
    right: -10vw;
    background: radial-gradient(circle, rgba(140, 100, 255, 0.22) 0%, transparent 70%);
}

.glow-2 {
    width: 55vw;
    height: 55vw;
    bottom: 20%;
    left: -15vw;
    background: radial-gradient(circle, rgba(58, 28, 168, 0.25) 0%, transparent 75%);
}

.glow-3 {
    width: 50vw;
    height: 50vw;
    top: 35%;
    right: -15vw;
    background: radial-gradient(circle, rgba(100, 20, 200, 0.16) 0%, transparent 70%);
}

/* Grid Background Overlay */
.bg-grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(140, 100, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(140, 100, 255, 0.035) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
    pointer-events: none;
    z-index: -1;
}

/* ==========================================================================
   CUSTOM CURSOR (Glowing Purple & Interactive)
   ========================================================================== */
.custom-cursor {
    width: 8px;
    height: 8px;
    background: var(--accent-color); /* Glowing purple dot */
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    box-shadow: 0 0 10px var(--accent-color);
}

.custom-cursor-follower {
    width: 34px;
    height: 34px;
    border: 1.5px solid rgba(140, 100, 255, 0.45); /* Glowing purple border */
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.08s ease-out, width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s, backdrop-filter 0.3s;
}

/* Hover States for Interactive Elements */
body.hovering-interactive .custom-cursor {
    width: 4px;
    height: 4px;
    background-color: #ffffff;
    box-shadow: none;
}
body.hovering-interactive .custom-cursor-follower {
    width: 56px;
    height: 56px;
    border-color: rgba(140, 100, 255, 0.85);
    background-color: rgba(140, 100, 255, 0.12);
    backdrop-filter: blur(4px) saturate(140%); /* Frosted blur overlay inside the follower cursor! */
}

@media (max-width: 1024px) {
    .custom-cursor, .custom-cursor-follower {
        display: none !important;
    }
}

/* ==========================================================================
   TYPOGRAPHY & BUTTONS
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-color);
    border-color: var(--text-color);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border-color: var(--border-color);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    border-color: var(--text-color);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-icon {
    margin-left: 8px;
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.btn-secondary:hover .btn-icon {
    transform: translate(2px, 2px);
}

/* ==========================================================================
   PRELOADER / LOADING SCREEN
   ========================================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #060509; /* Matches dark body background */
    z-index: 9999; /* Cover everything including cursor follower during load */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: clip-path 1.2s cubic-bezier(0.85, 0, 0.15, 1);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.preloader.fade-out {
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); /* Curtain slide-up reveal */
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    text-align: center;
}

.preloader-brand {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -0.03em;
    opacity: 0;
    transform: translateY(15px);
}

.preloader-counter {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 8vw, 6.2rem);
    font-weight: 800;
    color: var(--accent-color);
    letter-spacing: -0.02em;
    line-height: 1;
}

.preloader-progress-bg {
    width: 280px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 99px;
    overflow: hidden;
    position: relative;
    margin-top: 0.5rem;
}

.preloader-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(140, 100, 255, 0.6);
    transition: width 0.04s linear;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 2.8rem; /* Increased top margin for stronger floating aesthetic */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 880px;
    z-index: 1000;
    padding: 0.5rem 0.5rem 0.5rem 1rem; /* Visual symmetry alignment for logo avatar */
    background-color: rgba(13, 11, 19, 0.45);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.02);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s, padding 0.3s;
}



.header.scrolled {
    top: 2rem; /* Keep floating when scrolled, maintaining a clear gap from top */
    padding: 0.4rem 0.4rem 0.4rem 0.8rem; /* Visual symmetry alignment for logo avatar in scrolled state */
    background-color: rgba(13, 11, 19, 0.65);
    border-radius: 999px; /* Force preserve capsule shape */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.04);
}

.header.header-hidden {
    transform: translate(-50%, -180px) !important;
    opacity: 0 !important;
    pointer-events: none;
}

/* Navbar Contact Button - Purple Gradient */
.header .contact-btn {
    background: var(--accent-gradient);
    color: #ffffff;
    border: 1px solid rgba(155, 92, 246, 0.3);
    box-shadow: var(--accent-shadow);
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.header .contact-btn:hover {
    background: var(--accent-gradient-hover);
    box-shadow: 0 12px 32px rgba(155, 92, 246, 0.55), 0 0 0 1px rgba(155, 92, 246, 0.25);
    transform: translateY(-1px);
}

.header-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

/* Circular Avatar Logo in Navbar */
.nav-logo-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top; /* Focus on the face */
    border: 2px solid transparent;
    background-clip: padding-box;
    outline: 2px solid rgba(155, 92, 246, 0.55); /* Subtle purple glow ring */
    outline-offset: 2px;
    box-shadow: 0 0 12px rgba(155, 92, 246, 0.3), 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: outline-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.logo:hover .nav-logo-avatar {
    outline-color: rgba(155, 92, 246, 0.9);
    box-shadow: 0 0 20px rgba(155, 92, 246, 0.5), 0 2px 12px rgba(0, 0, 0, 0.4);
    transform: scale(1.06);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1.5px;
    background-color: var(--accent-color);
    transition: var(--transition-fast);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--text-color);
}

.nav-link:hover::after {
    width: 100%;
}

.contact-btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition-fast);
    transform-origin: left center;
}

/* Sidebar Backdrop Overlay */
.sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(6, 5, 9, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.sidebar-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

body.menu-open {
    overflow: hidden; /* Lock background scroll when sidebar is open */
}

@media (max-width: 768px) {
    .header {
        left: 5% !important;
        transform: none !important;
        width: 90% !important;
        top: 1.2rem !important;
    }

    .header.scrolled {
        left: 5% !important;
        transform: none !important;
        width: 90% !important;
        top: 0.8rem !important;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background-color: rgba(13, 11, 19, 0.96);
        backdrop-filter: blur(25px) saturate(180%);
        -webkit-backdrop-filter: blur(25px) saturate(180%);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        z-index: 2000;
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start; /* Nav links start from top */
        padding: 5rem 2.5rem 2.5rem; /* Top padding pushes links below safe area */
        gap: 1.8rem;
        box-shadow: -20px 0 50px rgba(0, 0, 0, 0.7);
        transform: translateX(100%); /* Hidden completely off-screen on the right */
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
        opacity: 0;
        pointer-events: none;
    }

    .nav.active {
        transform: translateX(0); /* Slide in flush to the right edge */
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 0.5rem 0;
        width: 100%;
        text-align: left;
    }

    .contact-btn {
        display: none !important;
    }

    .mobile-nav-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        width: 30px;
        height: 30px;
        z-index: 2100; /* Stays on top of sidebar */
    }
    
    .mobile-nav-toggle span {
        width: 22px;
        height: 2px;
        background-color: var(--text-color);
        transition: var(--transition-fast);
        transform-origin: center;
    }
    
    /* Cross/X icon state for active hamburger */
    .mobile-nav-toggle.active span:nth-child(1) {
        transform: translateY(4px) rotate(45deg);
    }
    
    .mobile-nav-toggle.active span:nth-child(2) {
        transform: translateY(-4px) rotate(-45deg);
    }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 8rem;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start; /* Snap point */
}

.hero-container {
    max-width: 900px; /* Widened to fit exactly 2 lines */
    margin: 0 auto 4rem auto;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
    text-align: center;
    position: relative;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5.2vw, 4.6rem); /* Sized down slightly so it fits in exactly 2 lines */
    line-height: 1.25;
    letter-spacing: -0.01em; /* Tight letter spacing for editorial look */
    font-weight: 400; /* Outfit display font looks great at 400 */
    color: var(--text-color);
    text-align: center;
}

.hero-subtitle-sub {
    font-size: 1.1rem;
    max-width: 480px;
    text-align: center;
    line-height: 1.6;
    font-weight: 300;
    color: var(--text-secondary);
}

.hero-cta-btn {
    margin-top: 1rem;
}



/* Explore Work Button (Purple Gradient Fill Override) */
.hero-cta-btn .btn-secondary {
    background: var(--accent-gradient) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: var(--accent-shadow);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.hero-cta-btn .btn-secondary:hover {
    background: var(--accent-gradient-hover) !important;
    box-shadow: 0 16px 36px rgba(155, 92, 246, 0.55), 0 0 0 1px rgba(155, 92, 246, 0.2) !important;
    transform: translateY(-2px);
}

/* Highlighter (Stabilo) Effect for Hero exceptional */
.highlighter {
    position: relative;
    color: var(--text-color);
    white-space: nowrap;
    display: inline-block;
    font-weight: 500;
    padding: 0 8px;
    z-index: 1;
}

.highlighter::after {
    content: '';
    position: absolute;
    bottom: 0.05em;
    left: 0;
    width: var(--highlighter-width, 0%); /* Animated via GSAP CSS variable */
    height: 1.1em;
    background: var(--accent-gradient); /* Rich purple gradient stabilo */
    z-index: -1;
    border-radius: 6px;
    transform-origin: left;
}

/* Hero Floating Mockups (Abstract Arched Layout) */
.hero-floating-mockups {
    position: absolute;
    top: 0;
    height: 100%;
    width: 32vw;
    pointer-events: none;
    z-index: 1;
}

.hero-floating-mockups.left-side {
    left: 2vw;
}

.hero-floating-mockups.right-side {
    right: 2vw;
}

.floating-card {
    position: absolute;
    pointer-events: auto;
    width: clamp(140px, 11vw, 190px); /* Shrunk cards even further for maximum elegance */
    height: clamp(190px, 15vw, 260px);
    z-index: 2;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), z-index 0.3s ease;
}

.floating-card:hover {
    z-index: 100 !important; /* Bring card to the very front on hover */
    transform: translateY(-20px) scale(1.05) !important; /* Force scale-up and push upwards */
    border-color: var(--accent-color);
    box-shadow: 0 30px 60px rgba(140, 100, 255, 0.25), 0 20px 40px rgba(0, 0, 0, 0.6);
}

.card-left-1 {
    top: 8%;
    left: 2%;
    transform: rotate(-12deg);
}

.card-left-3 {
    top: 45%;
    left: 14%; /* Spread inward slightly so they don't lock each other */
    transform: rotate(5deg);
}

.card-left-2 {
    bottom: 10%;
    left: 3%;
    transform: rotate(8deg); /* Tilted right (clockwise) */
}

.card-right-1 {
    top: 6%;
    right: 2%;
    transform: rotate(10deg);
}

.card-right-3 {
    top: 42%;
    right: 14%; /* Spread inward slightly so they don't lock each other */
    transform: rotate(-6deg);
}

.card-right-2 {
    bottom: 12%;
    right: 3%;
    transform: rotate(-8deg); /* Tilted left (counter-clockwise) */
}

@media (max-width: 1024px) {
    .hero-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 9rem 1rem 4rem 1rem;
        height: auto;
        min-height: 100vh;
        gap: 2rem;
        overflow: visible; /* Allow cards to breathe without clipping */
    }
    
    .hero-floating-mockups {
        display: flex !important;
        position: relative;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        width: 100%;
        height: auto;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        pointer-events: auto;
        padding: 1rem 1rem 1.5rem;
    }
    
    .hero-floating-mockups.left-side {
        order: 1;
    }
    
    .hero-container {
        order: 2;
        max-width: 100%;
        padding: 0 1.5rem;
        margin: 0;
    }
    
    .hero-floating-mockups.right-side {
        order: 3;
    }
    
    /* Reset absolute position and reset GSAP inline overrides on tablet/mobile */
    .hero-floating-mockups .floating-card {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        width: 180px !important;
        height: 238px !important;
        flex-shrink: 0;
        /* Kill GSAP-applied transforms that break mobile layout */
        will-change: auto;
    }
    
    /* Override .mockup-card desktop clamp size inside the hero */
    .hero-floating-mockups .floating-card.mockup-card {
        width: 180px !important;
        height: 238px !important;
    }
    
    /* Apply gentle tilts */
    .hero-floating-mockups.left-side .card-left-1 { transform: rotate(-5deg) !important; }
    .hero-floating-mockups.left-side .card-left-2 { transform: rotate(5deg) !important; }
    .hero-floating-mockups.right-side .card-right-1 { transform: rotate(-5deg) !important; }
    .hero-floating-mockups.right-side .card-right-2 { transform: rotate(5deg) !important; }
    
    /* Scale down inner visual contents to fit the smaller card size */
    .hero-floating-mockups .floating-card .dompetku-login-body,
    .hero-floating-mockups .floating-card .habitzzz-body,
    .hero-floating-mockups .floating-card .dompetku-dashboard-body,
    .hero-floating-mockups .floating-card .macabae-body {
        position: absolute !important;
        top: 32px !important;
        left: 0 !important;
        width: 280px !important;
        height: 320px !important;
        transform: scale(0.643) !important;
        transform-origin: top left !important;
    }
}

/* ============================================================
   MOBILE RESPONSIVE (max-width: 768px) - Complete Override
   ============================================================ */
@media (max-width: 768px) {
    /* --- Global --- */
    html { overflow-x: hidden; }
    body { overflow-x: hidden; }
    
    /* --- Hero Section: tighter layout for phones --- */
    .hero-section {
        padding: 7rem 0 3rem 0;
        gap: 1.5rem;
        overflow: visible;
    }
    
    .hero-floating-mockups {
        padding: 0.5rem 0.5rem 1rem;
        gap: 1rem;
    }
    
    /* Larger cards on mobile per user request */
    .hero-floating-mockups .floating-card {
        width: 165px !important;
        height: 218px !important;
        aspect-ratio: auto !important;
    }
    
    /* Override .mockup-card desktop sizes that would otherwise override floating-card !important */
    .hero-floating-mockups .floating-card.mockup-card {
        width: 165px !important;
        height: 218px !important;
    }

    /* Scale down inner visual contents to fit the smaller card size perfectly on mobile */
    .hero-floating-mockups .floating-card .dompetku-login-body,
    .hero-floating-mockups .floating-card .habitzzz-body,
    .hero-floating-mockups .floating-card .dompetku-dashboard-body,
    .hero-floating-mockups .floating-card .macabae-body {
        position: absolute !important;
        top: 32px !important;
        left: 0 !important;
        width: 280px !important;
        height: 315px !important;
        transform: scale(0.59) !important;
        transform-origin: top left !important;
    }
    
    /* Hide dashboard sidebar on mobile for cleaner card content */
    .hero-floating-mockups .floating-card .dashboard-sidebar {
        display: none !important;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }
    
    .hero-subtitle-sub {
        font-size: 0.95rem;
    }
    
    /* --- About Section --- */
    .about-section {
        padding: 5rem 0;
    }
    .about-section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    
    /* --- Tools Section --- */
    .tools-section {
        padding: 5rem 0;
    }
    
    /* --- Projects Section --- */
    .projects-section {
        padding: 5rem 0;
        width: 92%;
    }
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 3rem;
        gap: 1rem;
    }
    .section-title-wrapper {
        width: 100%;
    }
    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        white-space: normal;
    }
    .projects-grid {
        gap: 4rem;
    }
    
    /* --- Services Section --- */
    .services-section {
        padding: 5rem 0;
    }
    .services-wrapper {
        width: 92%;
        gap: 2.5rem;
    }
    .services-title-head {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    
    /* --- Philosophy/Bento Section --- */
    .philosophy-section {
        padding: 5rem 0;
        width: 92%;
    }
    .bento-bottom-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    .bento-bottom-card {
        aspect-ratio: 16/10;
        padding: 1.5rem;
    }
    
    /* --- Gallery Section --- */
    .gallery-section {
        padding: 1rem 0 4rem 0;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .gallery-item {
        /* Reset all desktop 3D transforms */
        transform: none !important;
    }
    
    /* --- Footer --- */
    .footer-giant-logo {
        font-size: clamp(3.5rem, 18vw, 7rem);
    }

    /* --- Behind the Screens (Header Hidden Mobile) --- */
    .header.header-hidden {
        transform: translateY(-180px) !important;
        opacity: 0 !important;
        pointer-events: none;
    }

    /* --- Hero Section Spacings (Points 1 & 2) --- */
    .hero-container {
        gap: 0 !important;
    }
    .hero-title {
        margin-bottom: 12px !important;
    }
    .hero-subtitle-sub {
        font-size: 13px !important;
        margin-bottom: 18px !important;
    }

    /* --- About Section Spacings (Points 3, 4, 5) --- */
    .about-layout {
        gap: 12px !important;
    }
    .about-right {
        gap: 20px !important;
    }
    .about-section {
        padding-bottom: 70px !important;
    }

    /* --- Tech & Creative Section Spacings --- */
    .tools-section {
        padding-top: 160px !important;
        padding-bottom: 160px !important;
    }

    /* --- Projects Section Spacings --- */
    .projects-section {
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }
    .see-all-btn {
        display: none !important;
    }
    .projects-section .section-header {
        margin-bottom: 12px !important;
    }
    .projects-grid {
        gap: 40px !important;
    }
    .project-card, .project-card.p-right {
        gap: 12px !important;
    }
    .project-card:not(:last-child) {
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 40px !important;
    }
    .project-details {
        gap: 0 !important;
    }
    .project-name {
        margin-bottom: 12px !important;
    }
    .project-desc {
        margin-bottom: 20px !important;
    }
    .project-link {
        margin-top: 0 !important;
    }

    /* --- Selected Graphic Design Spacings --- */
    .gallery-section .section-header {
        margin-bottom: 12px !important;
    }
    .gallery-grid {
        margin-top: 0 !important;
    }

    /* --- Services Section Spacings --- */
    .services-section {
        padding-top: 70px !important;
        padding-bottom: 90px !important;
    }
    .services-title-head {
        margin-bottom: 12px !important;
    }
    .services-wrapper {
        gap: 20px !important;
    }

    /* --- Behind the Screens Spacings --- */
    .philosophy-section {
        padding-top: 70px !important;
        padding-bottom: 30px !important;
    }
    .philosophy-section .section-header {
        margin-bottom: 12px !important;
    }
    .bento-bottom-grid {
        margin-bottom: 32px !important;
    }
}

/* Grayscale Mockup Cards */
.mockup-card {
    width: clamp(260px, 22vw, 360px); /* Large cards restored as requested */
    height: clamp(340px, 28vw, 460px);
    background-color: var(--gray-mockup-bg);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.4s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s;
    user-select: none;
}
/* ================================================================
   HERO CARD MOBILE OVERRIDE — placed AFTER .mockup-card global rule
   so cascade order guarantees these win on small screens
   ================================================================ */
@media (max-width: 1024px) {
    .hero-floating-mockups .mockup-card {
        width: 180px !important;
        height: 238px !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
    }
}
@media (max-width: 768px) {
    .hero-floating-mockups .mockup-card {
        width: 165px !important;
        height: 218px !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
    }
}

.mockup-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 40px 80px rgba(140, 100, 255, 0.15), 0 30px 60px rgba(0, 0, 0, 0.6);
}

.mockup-header {
    height: 32px; /* Reverted to large header height */
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 14px;
    background-color: rgba(255, 255, 255, 0.01);
}

.mockup-header .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.mockup-header .dot.red { background-color: #ff5f56; }
.mockup-header .dot.yellow { background-color: #ffbd2e; }
.mockup-header .dot.green { background-color: #27c93f; }

.mockup-body {
    flex: 1;
    padding: 1.2rem; /* Reverted to large body padding */
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Dummy mockup shapes */
.dummy-nav {
    height: 12px;
    background-color: var(--gray-900);
    border-radius: 6px;
    width: 60%;
}

.dummy-hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem;
    position: relative;
}

.dummy-line {
    height: 10px;
    background-color: var(--gray-900);
    border-radius: 5px;
}

.dummy-line.title {
    height: 16px;
    width: 80%;
    background-color: var(--gray-800);
}

.dummy-line.title-big {
    height: 24px;
    width: 70%;
    background-color: var(--gray-800);
    margin-bottom: 1rem;
}

.dummy-line.text {
    width: 100%;
}

.dummy-line.text.short {
    width: 45%;
}

.dummy-circle-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--gray-800);
    margin: 1.5rem auto 0 auto;
    border: 2px solid var(--gray-900);
}

/* Chat Mockup */
.chat-mock {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    height: 100%;
}

.chat-bubble {
    height: 28px;
    border-radius: 12px;
}

.chat-bubble.left {
    background-color: var(--gray-900);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    width: 70%;
}

.chat-bubble.left.short {
    width: 50%;
}

.chat-bubble.right {
    background-color: var(--accent-color);
    opacity: 0.15; /* Subdued violet matching grayscale aesthetic but with color touch */
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    width: 65%;
}

/* Music Mockup */
.music-mock {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    height: 100%;
    padding: 1.5rem 1rem;
}

.music-disc-mini {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gray-800) 25%, var(--gray-900) 26%, var(--gray-900) 35%, var(--gray-800) 36%);
    border: 1px solid var(--border-color);
}

.music-controls {
    display: flex;
    gap: 14px;
}

.control-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--gray-900);
}

/* Editorial Mockup */
.mockup-body.editorial {
    flex-direction: row;
    padding: 2rem;
    align-items: center;
    gap: 1.5rem;
}

.dummy-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.dummy-column.right-col {
    align-items: flex-end;
}

.dummy-image-block {
    width: 100%;
    height: 140px;
    background-color: var(--gray-800);
    border-radius: 10px;
}

/* Dashboard Mockup */
.mockup-body.dashboard {
    flex-direction: row;
    padding: 0;
    gap: 0;
}

.dummy-sidebar {
    width: 25%;
    border-right: 1px solid var(--border-color);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: rgba(0, 0, 0, 0.15);
}

.dummy-sidebar .dummy-item {
    height: 8px;
    background-color: var(--gray-900);
    border-radius: 4px;
}

.dummy-content {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dummy-header-dash {
    height: 14px;
    background-color: var(--gray-900);
    border-radius: 7px;
    width: 50%;
}

.dummy-grid-dash {
    flex: 1;
    display: grid;
    grid-template-rows: 2fr 1fr;
    gap: 10px;
}

.dummy-chart-box {
    background: linear-gradient(180deg, var(--gray-900) 0%, transparent 100%);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.dummy-list-box {
    background-color: var(--gray-950);
    border-radius: 8px;
}

/* Web preview */
.mockup-body.web-preview {
    padding: 2rem;
    justify-content: center;
}

.dummy-row-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 1rem;
}

.dummy-box {
    height: 80px;
    background-color: var(--gray-900);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* ==========================================================================
   ABOUT SECTION (Redesigned with Social Bento Cards)
   ========================================================================== */
.about-section {
    padding: 10rem 0;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.about-container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 2.2fr;
    gap: 5rem;
    align-items: start;
}

.about-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-title-head {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-family: var(--font-display);
    font-weight: 700;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.about-text {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-family: var(--font-display);
    line-height: 1.5;
    font-weight: 300;
    color: var(--text-secondary);
}

.about-text strong {
    color: var(--text-color);
    font-weight: 500;
}

/* Gradient name highlight in about text */
.about-gradient-name {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700 !important;
    display: inline-block; /* Required for background-clip: text to work */
}

.about-accent-dot {
    display: inline-flex;
}

.accent-sparkle {
    width: 32px;
    height: 32px;
    color: var(--accent-color);
    filter: drop-shadow(0 0 10px var(--accent-color));
    animation: pulseGlow 3s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 5px var(--accent-color)); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 15px var(--accent-color)); }
}

/* Social Links Grid */
.about-social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.social-card {
    background-color: var(--card-bg-light);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    /* Restore: slow + delay so ALL cards light up together after hover ends */
    transition: background-color 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease,
                filter 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Hovered card: subtle border + bg highlight, NO scale */
.social-card:hover {
    border-color: var(--accent-color);
    background-color: var(--card-bg-hover);
    box-shadow: 0 12px 32px rgba(155, 92, 246, 0.18), 0 0 0 1px rgba(155, 92, 246, 0.18);
    filter: none;
    transition: background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.06s linear;
}

/* Non-hovered siblings: dim instantly to kill flicker */
.about-social-grid:has(.social-card:hover) .social-card:not(:hover) {
    filter: opacity(0.32) brightness(0.55) saturate(0.35);
    transition: filter 0.06s linear;
}

/* Icon wrapper base */
.social-icon-wrapper {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    flex-shrink: 0;
    transition: background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); /* spring bounce */
}

/* Icon wrapper on hover: gradient + glow + scale */
.social-card:hover .social-icon-wrapper {
    background: var(--accent-gradient);
    border-color: transparent;
    box-shadow: 0 0 18px rgba(155, 92, 246, 0.55), 0 4px 12px rgba(155, 92, 246, 0.3);
    transform: scale(1.12) rotate(-4deg);
    color: #ffffff;
}

/* SVG icon inside wrapper: scale up on hover */
.social-icon-wrapper .social-icon-svg {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.social-card:hover .social-icon-wrapper .social-icon-svg {
    transform: scale(1.15);
}

.social-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.social-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.social-tag {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.social-arrow {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.social-card:hover .social-arrow {
    color: var(--accent-color);
    transform: translate(3px, -3px);
}

@media (max-width: 768px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .about-social-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   TOOLS SECTION (Curved / Arched Layout)
   ========================================================================== */
.tools-section {
    padding: 8rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.tools-container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    text-align: center;
}

.tools-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.25;
    max-width: 600px;
    margin: 0 auto 1rem auto;
}

.tools-subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    margin-bottom: 2.2rem; /* Shrunk gap between text and icons */
}

.tools-arch-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 4.2rem; /* Increased spacing/gap for a clean, spacious layout */
    min-height: 260px;
    padding-bottom: 2rem;
    max-width: 950px;
    margin: 0 auto;
    position: relative;
}

.tool-card {
    background-color: var(--card-bg-light);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.02);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    z-index: 5;
    will-change: transform, border-color, box-shadow;
}

/* Fix shaking on hover: disable mouse triggers on nested elements */
.tool-card * {
    pointer-events: none;
}

.tool-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 20px 45px rgba(140, 100, 255, 0.15);
}

@media (min-width: 769px) {
    /* Limit translateY displacement to 8px and scale to 1.03 to avoid cursor boundaries loop */
    .tool-figma:hover { transform: translateY(17px) rotate(-14deg) scale(1.03) !important; }
    .tool-vscode:hover { transform: translateY(-16px) rotate(12deg) scale(1.03) !important; }
    .tool-capcut:hover { transform: translateY(-20px) rotate(-8deg) scale(1.03) !important; }
    .tool-github:hover { transform: translateY(12px) rotate(16deg) scale(1.03) !important; }
}

.tool-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-icon {
    width: 42px;
    height: 42px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.tool-card:hover .tool-icon {
    color: var(--accent-color);
    filter: drop-shadow(0 0 8px rgba(140, 100, 255, 0.4));
}

.tool-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.tool-card:hover .tool-name {
    color: var(--text-color);
}

/* Arched Layout Positions (Curved offsets, different sizes and rotations) */
.tool-figma {
    width: clamp(170px, 14vw, 205px); /* Largest tool card */
    height: clamp(170px, 14vw, 205px);
    transform: translateY(25px) rotate(-14deg);
}

.tool-vscode {
    width: clamp(135px, 11vw, 160px);
    height: clamp(135px, 11vw, 160px);
    transform: translateY(-8px) rotate(12deg); /* More tilt to the right */
}

.tool-capcut {
    width: clamp(125px, 10vw, 145px);
    height: clamp(125px, 10vw, 145px);
    transform: translateY(-12px) rotate(-8deg);
}

.tool-github {
    width: clamp(140px, 12vw, 170px);
    height: clamp(140px, 12vw, 170px);
    transform: translateY(20px) rotate(16deg); /* More tilt to the right */
}

/* Custom Tool Icon Sizes */
.tool-figma .tool-icon-svg {
    width: 48px;
    height: 48px;
}

.tool-vscode .tool-icon-svg {
    width: 38px;
    height: 38px;
}

.tool-capcut .tool-icon-svg {
    width: 34px;
    height: 34px;
}

.tool-github .tool-icon-svg {
    width: 38px;
    height: 38px;
}

@media (max-width: 768px) {
    .tools-arch-container {
        display: grid;
        grid-template-columns: repeat(2, auto);
        justify-content: center;
        min-height: auto;
        gap: 1.5rem;
        padding-bottom: 1rem;
    }
    .tool-card {
        width: 120px !important;
        height: 120px !important;
        transform: none !important; /* Disable arch layout on mobile for grid flow */
    }
    .tool-card:hover {
        transform: translateY(-5px) !important;
    }
}

/* ==========================================================================
   PROJECTS SECTION
   ========================================================================== */
.projects-section {
    padding: 8rem 0;
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5rem;
    gap: 2rem;
}

.section-title-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    white-space: nowrap;
}

.title-line {
    height: 1px;
    background-color: var(--border-color);
    flex: 1;
}

.see-all-btn {
    flex-shrink: 0;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 10rem;
}

.project-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.project-card.p-right {
    grid-template-columns: 1fr 1.2fr;
}

.project-mockup-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    background: radial-gradient(circle at center, #141120 0%, #0d0a14 100%);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.project-card:hover .project-mockup-wrapper {
    border-color: rgba(140, 100, 255, 0.25);
    box-shadow: 0 30px 60px rgba(140, 100, 255, 0.05), 0 20px 40px rgba(0,0,0,0.5);
}

/* Bento Mockups (Overlapping elements in projects) */
.bento-mockup {
    position: relative;
    width: 80%;
    height: 70%;
}

.mockup-layer {
    position: absolute;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

/* ============================================================
   PROJECT 1: HABITZZZ MOCKUP — PRECISE WEBSITE REPLICA
   ============================================================ */

/* Sizing & position of the two overlapping mockup layers */
.habitzzz-mockup .layer-base {
    width: 82%;
    height: 78%;
    top: 4%;
    left: 3%;
    overflow: hidden;
    border-radius: 10px;
}

.habitzzz-mockup .layer-overlay-1 {
    width: 75%;
    height: 80%;
    bottom: 3%;
    right: 2%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 28px 56px rgba(0,0,0,0.65);
}

/* ─── BACK CARD: Dashboard ─────────────────────────────────── */
.habitzzz-dashboard-mock {
    background: #f8fafc;
    display: flex;
    flex-direction: row;
}

/* Sidebar */
.hzz-sidebar {
    width: 34%;
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    padding: 8px 6px;
    gap: 6px;
    flex-shrink: 0;
}

.hzz-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 4px 6px 4px;
    border-bottom: 1px solid #f1f5f9;
}

.hzz-logo-mark {
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    border-radius: 3px;
    font-size: 0.45rem;
    font-weight: 900;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hzz-logo-text {
    font-size: 0.5rem;
    font-weight: 700;
    color: #1e293b;
}

.hzz-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.hzz-nav-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 5px;
    border-radius: 5px;
    font-size: 0.5rem;
    color: #64748b;
    cursor: pointer;
}

.hzz-nav-item.active {
    background: #eff6ff;
    color: #3b82f6;
    font-weight: 600;
}

.hzz-nav-icon {
    width: 8px !important;
    height: 8px !important;
    stroke-width: 2px;
}

.hzz-sidebar-footer {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border-top: 1px solid #f1f5f9;
}

.hzz-user-avatar {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    font-size: 0.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hzz-user-info {
    display: flex;
    flex-direction: column;
}

.hzz-user-name {
    font-size: 0.46rem;
    font-weight: 600;
    color: #1e293b;
}

.hzz-user-role {
    font-size: 0.4rem;
    color: #94a3b8;
}

/* Main Content Area */
.hzz-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 7px 8px;
    gap: 6px;
    background: #f8fafc;
    overflow: hidden;
}

.hzz-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.hzz-greeting {
    font-size: 0.55rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.hzz-date {
    font-size: 0.42rem;
    color: #94a3b8;
    margin: 0;
}

.hzz-streak-pill {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 0.42rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 4px;
}

.hzz-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.hzz-stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    padding: 4px 5px;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.hzz-stat-label {
    font-size: 0.4rem;
    color: #94a3b8;
}

.hzz-stat-val {
    font-size: 0.6rem;
    font-weight: 800;
    color: #1e293b;
}

.hzz-stat-val.hzz-blue { color: #3b82f6; }
.hzz-stat-val.hzz-red  { color: #ef4444; }

.hzz-habit-preview-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 5px 6px;
}

.hzz-card-label {
    font-size: 0.48rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.hzz-habit-rows {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hzz-habit-row {
    font-size: 0.44rem;
    color: #475569;
}

.hzz-habit-row.done {
    color: #94a3b8;
    text-decoration: line-through;
}

/* ─── FRONT CARD: Login Split-Screen ──────────────────────── */
.habitzzz-login-screen-mock {
    display: flex;
    flex-direction: row;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 0 !important;
}

/* ─── Login Screen SVG Mockup ─────────────────── */
.habitzzz-login-screen-mock {
    background: none !important;
    border: none !important;
    padding: 0 !important;
}

.habitzzz-login-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}






.snippet-tag {
    font-size: 0.6rem;
    background-color: var(--gray-900);
    padding: 2px 8px;
    border-radius: 4px;
    width: fit-content;
}

.snippet-title {
    font-size: 1rem;
}

.snippet-desc {
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

/* Project 2: Dompetku Mockup */
.dompetku-mockup .layer-base {
    width: 82%;
    height: 78%;
    top: 4%;
    right: 3%;
    overflow: hidden;
    border-radius: 10px;
    background: none !important;
    border: none !important;
}

.dompetku-mockup .layer-overlay-2 {
    width: 75%;
    height: 80%;
    bottom: 3%;
    left: 2%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 28px 56px rgba(0,0,0,0.65);
    background: none !important;
    border: none !important;
}

.dompetku-mockup-img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 10px;
}

.dompetku-dashboard-mock .dompetku-mockup-img {
    object-fit: cover;
    object-position: top center;
    background-color: #0b0f19; /* Cocok dengan background dasbor Dompetku */
}

.dompetku-login-mock .dompetku-mockup-img {
    object-fit: contain;
    background-color: #0c0d14; /* Cocok dengan background gelap login Dompetku */
}




/* Overlapping layer transitions on card hover */
.project-card:hover .layer-overlay-1 {
    transform: translate(5px, -5px);
}

.project-card:hover .layer-overlay-2 {
    transform: translate(-5px, -5px);
}

/* Details and Info */
.project-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-name {
    font-size: clamp(2rem, 3.5vw, 3rem);
}

.project-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    margin-top: 1rem;
    position: relative;
    width: fit-content;
}

.project-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--text-color);
    transform: scaleX(0.3);
    transform-origin: left;
    transition: var(--transition-fast);
}

.project-link:hover::after {
    transform: scaleX(1);
    background-color: var(--accent-color);
}

.project-link:hover {
    color: var(--accent-color);
}

@media (max-width: 900px) {
    .project-card, .project-card.p-right {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .project-card.p-right .project-details {
        order: 2;
    }
    .project-card.p-right .project-mockup-wrapper {
        order: 1;
    }
    .projects-grid {
        gap: 6rem;
    }
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
    background-color: var(--card-bg-solid);
    padding: 8rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.services-wrapper {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: start;
}

.services-title-head {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 4rem;
}

/* Book Mockup (Left Column) */
.book-mockup-container {
    width: 100%;
    perspective: 1200px;
    display: flex;
    justify-content: center;
}

.book-mockup {
    width: 100%;
    aspect-ratio: 16/10;
    display: flex;
    background-color: var(--gray-mockup-bg);
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 100px rgba(0,0,0,0.8);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    transform: rotateX(15deg) rotateY(-5deg);
    transition: var(--transition-smooth);
}

.book-mockup:hover {
    transform: rotateX(0deg) rotateY(0deg);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7);
}

.book-page {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.left-page {
    border-right: 1px solid rgba(0, 0, 0, 0.4);
    box-shadow: inset -20px 0 30px rgba(0, 0, 0, 0.4);
}

.right-page {
    border-left: 1px solid rgba(255, 255, 255, 0.02);
    box-shadow: inset 20px 0 30px rgba(0, 0, 0, 0.4);
}

.book-header-text, .book-footer-text {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.book-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 1rem 0;
    color: var(--text-color);
    line-height: 1.1;
}

.book-body-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* Page 2 Grid layout preview */
.book-layout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 6px;
    flex: 1;
    margin: 1rem 0;
}

.layout-box {
    background-color: var(--gray-mockup-card);
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.02);
}

.grid-span-2 {
    grid-column: span 2;
}

/* Services List (Right Column) */
.services-list {
    display: flex;
    flex-direction: column;
}

.service-item {
    border-bottom: 1px solid var(--border-color);
    padding: 2rem 0;
    cursor: pointer;
    transition: border-color 0.25s ease; /* Avoid all or transform/opacity transition to prevent GSAP conflict */
}

.service-title-row {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.service-num {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: 600;
}

.service-name {
    font-size: 1.8rem;
    flex: 1;
    transition: var(--transition-fast);
}

.service-arrow {
    width: 24px;
    height: 24px;
    color: var(--text-secondary);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s;
}

.service-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
    opacity: 0;
    padding-left: 3.2rem;
    margin-top: 0;
}

.service-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

/* Active Service Hover/Interaction States */
.service-item:hover .service-name {
    color: var(--accent-color);
    transform: translateX(10px);
}

.service-item:hover .service-arrow {
    color: var(--accent-color);
    transform: rotate(45deg);
}

.service-item.active .service-content {
    max-height: 120px;
    opacity: 1;
    margin-top: 1rem;
}

@media (max-width: 991px) {
    .services-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

/* ==========================================================================
   PHILOSOPHY & BENTO BOTTOM SECTION
   ========================================================================== */
.philosophy-section {
    padding: 8rem 0;
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.bento-bottom-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    margin-bottom: 6rem;
}

.bento-bottom-card {
    background-color: var(--card-bg-light);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/11;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.4s, box-shadow 0.4s;
}

.bento-bottom-card:hover {
    border-color: rgba(140, 100, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.card-tag {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.card-title-bottom {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    z-index: 2;
}

.card-subtitle-bottom {
    font-size: 0.95rem;
    color: var(--text-secondary);
    z-index: 2;
    margin-bottom: 2rem;
}

/* Curated Projects - Vinyl Interaction */
.vinyl-mockup-wrapper {
    position: absolute;
    bottom: -12%;
    right: -12%;
    width: clamp(280px, 29vw, 380px); /* Much larger size! */
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vinyl-sleeve {
    width: 86%;
    height: 86%;
    background-color: var(--gray-mockup-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.sleeve-art {
    text-align: center;
    border: 1px dashed rgba(255,255,255,0.1);
    padding: 1.5rem;
    width: 80%;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.sleeve-art:has(.sleeve-img) {
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    border-radius: 8px;
}

.sleeve-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sleeve-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.sleeve-subtitle {
    font-size: 0.55rem;
    color: var(--text-secondary);
}

.vinyl-record {
    position: absolute;
    width: 76%;
    height: 76%;
    background-color: #0b0b0d;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.vinyl-grooves {
    position: absolute;
    width: 90%;
    height: 90%;
    border-radius: 50%;
    border: 1px double rgba(255, 255, 255, 0.03);
    background: repeating-radial-gradient(
        circle,
        #0b0b0d,
        #0b0b0d 2px,
        #121214 3px,
        #0b0b0d 4px
    );
}

.vinyl-label {
    width: 32%;
    height: 32%;
    background-color: var(--text-color);
    border-radius: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,0.1);
}

.label-logo {
    font-family: var(--font-display);
    font-size: 0.5rem;
    font-weight: 800;
    color: var(--bg-color);
    letter-spacing: -0.02em;
}

/* Vinyl Hover Animation */
.playlist-card:hover .vinyl-sleeve {
    transform: rotate(-5deg) translate(-10px, 10px);
}

.playlist-card:hover .vinyl-record {
    transform: translate(60px, -60px) rotate(90deg);
}

/* Design Philosophy - 3D Dieter Rams Book Cover */
.book-3d-wrapper {
    position: absolute;
    bottom: -15%;
    right: 5%;
    width: clamp(160px, 16vw, 240px);
    aspect-ratio: 3/4;
    perspective: 1000px;
}

.book-3d {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(20deg) rotateY(-20deg) rotateZ(5deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.book-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #d1d1d6; /* Gray-white minimal Dieter Rams */
    color: #1c1c1e;
    border-radius: 4px 8px 8px 4px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 10px 15px 30px rgba(0,0,0,0.5);
    z-index: 2;
    backface-visibility: hidden;
}

.book-cover:has(.book-cover-img) {
    padding: 0;
    overflow: hidden;
    background: none !important;
}

.book-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.book-spine-line {
    position: absolute;
    top: 0;
    left: 4px;
    width: 2px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
}

.book-cover-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 0.9;
    text-transform: lowercase;
    letter-spacing: -0.04em;
}

.book-cover-subtitle {
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.1;
    margin-top: 0.5rem;
    color: #555;
}

.book-cover-publisher {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.book-pages-side {
    position: absolute;
    height: 96%;
    width: 24px;
    background-color: #e5e5ea;
    right: -23px;
    top: 2%;
    transform: rotateY(90deg);
    transform-origin: left;
    box-shadow: inset 10px 0 20px rgba(0, 0, 0, 0.1);
    background-image: linear-gradient(90deg, #e5e5ea 90%, #d1d1d6 10%);
    background-size: 3px 100%;
}

/* Book 3D Hover animation */
.philosophy-card:hover .book-3d {
    transform: rotateX(10deg) rotateY(-5deg) rotateZ(0deg) translate(-10px, -10px);
}

.cta-bottom {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.cta-btn-large {
    font-size: 1.1rem;
    padding: 1.2rem 3rem;
    background-color: var(--text-color);
    color: var(--bg-color);
}

.cta-btn-large:hover {
    background-color: var(--accent-color);
    color: var(--text-color);
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(140, 100, 255, 0.4);
}

@media (max-width: 768px) {
    .bento-bottom-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .bento-bottom-card {
        aspect-ratio: 16/12;
        padding: 2rem;
    }
}

/* ==========================================================================
   MARQUEE BG TEXT SECTION
   ========================================================================== */
.marquee-bg-section {
    padding: 2rem 0;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.marquee-container {
    display: flex;
    width: 100%;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marqueeScroll 40s linear infinite;
}

.marquee-text {
    font-family: var(--font-display);
    font-size: clamp(4rem, 10vw, 10rem);
    font-weight: 800;
    text-transform: uppercase;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 1;
    letter-spacing: -0.02em;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   FOOTER (Redesigned matching image reference)
   ========================================================================== */
.footer {
    background-color: #040306;
    padding: 3rem 0 0 0; /* Reduced top padding, removed bottom padding for cut-off text */
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.footer-container-new {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-brand-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
    max-width: 600px;
    margin-bottom: 2rem;
}

.footer-brand-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(155, 92, 246, 0.4);
    box-shadow: 0 0 16px rgba(155, 92, 246, 0.2);
}

.footer-brand-desc-centered {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0 0 0.5rem 0;
}

/* Footer Social Icon Links Styling */
.footer-social-row {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
}

.footer-social-icon-link {
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-social-icon-link:hover {
    color: var(--accent-color);
    transform: scale(1.2);
}

.footer-social-svg {
    width: 18px;
    height: 18px;
}

.footer-giant-logo-container {
    width: 100%;
    text-align: center;
    margin-top: 1.5rem;
    overflow: hidden;
}

.footer-giant-logo {
    font-family: var(--font-display);
    /* Scale font size to fit exactly horizontally within viewport bounds without clipping */
    font-size: clamp(6rem, 11.2vw, 16rem);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.055); /* Elegant charcoal-grey giant text */
    line-height: 0.75;
    letter-spacing: -0.04em;
    margin: 0 0 -1.6vw 0; /* Raised up by 20%+ (from -3.4vw) to show more of the letters above the screen fold */
    text-transform: lowercase;
    pointer-events: none;
    user-select: none;
    display: block;
    width: 100%;
    text-align: center;
    white-space: nowrap; /* Prevent wrapping on ultra small screens */
}

@media (max-width: 768px) {
    .footer-giant-logo {
        font-size: clamp(4rem, 20vw, 8rem);
        margin-bottom: -2vw;
    }
}

/* ==========================================================================
   CONTACT MODAL
   ========================================================================== */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 5, 9, 0.85);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.contact-modal-content {
    background-color: var(--card-bg-light);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 3.5rem;
    width: 90%;
    max-width: 550px;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 100px rgba(140, 100, 255, 0.1);
}

.contact-modal.active .contact-modal-content {
    transform: translateY(0) scale(1);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 1.5rem;
    line-height: 38px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.close-modal:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
    transform: rotate(90deg);
}

.contact-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group input, .form-group textarea {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    padding: 0.9rem 1.2rem;
    border-radius: 8px;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(140, 100, 255, 0.25);
    background-color: rgba(0, 0, 0, 0.4);
}

.submit-btn {
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 1rem;
}

/* Success State */
.form-success-msg {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
    padding: 2rem 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    color: #4cd964;
}

.form-success-msg h3 {
    font-size: 1.8rem;
}

.form-success-msg p {
    color: var(--text-secondary);
}

.contact-modal-content.success .contact-form {
    display: none;
}
.contact-modal-content.success .form-success-msg {
    display: flex;
}

/* ==========================================================================
   DOMPETKU CODE DESIGN MOCKUPS (Custom Hero Cards - Upscaled for Larger Frame)
   ========================================================================== */
.mockup-tab-title {
    font-size: 10px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-left: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

/* ==========================================
   1. DOMPETKU LOGIN PREVIEW (Card Left 1)
   ========================================== */
.dompetku-login-view {
    border-color: rgba(37, 99, 235, 0.15) !important;
}

.dompetku-login-body {
    position: relative;
    height: 100%;
    background-color: #020617 !important; /* bg-slate-950 */
    color: #ffffff;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.login-mesh-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(37, 99, 235, 0.18), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.login-logo-header {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.login-logo-box {
    width: 22px;
    height: 22px;
    background: linear-gradient(to top right, #2563eb, #6366f1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.login-logo-box svg {
    width: 12px;
    height: 12px;
    color: white;
}

.login-logo-text {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.login-logo-text .blue-text {
    color: #3b82f6;
}

/* Dashboard Mockup Box inside Login Page */
.login-mockup-box {
    background-color: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 0.8rem;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.box-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.box-tag {
    font-size: 7px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.box-balance {
    font-size: 13px;
    font-weight: 900;
    color: #ffffff;
    margin-top: 1px;
    letter-spacing: -0.01em;
}

.box-badge {
    font-size: 7px;
    font-weight: 700;
    color: #10b981;
    background-color: rgba(16, 185, 129, 0.1);
    padding: 2.5px 6px;
    border-radius: 6px;
    border: 1px solid rgba(16, 185, 129, 0.15);
    display: flex;
    align-items: center;
    gap: 3px;
}

.pulse-dot {
    width: 4px;
    height: 4px;
    background-color: #10b981;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.box-graph {
    height: 35px;
    width: 100%;
    position: relative;
    margin-bottom: 2px;
}

.graph-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.box-transactions {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tx-section-title {
    font-size: 7px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 3px;
    margin-bottom: 1px;
}

.box-tx-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 8px;
}

.tx-circle {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7.5px;
}

.tx-circle.green-bg {
    background-color: rgba(16, 185, 129, 0.12);
    color: #34d399;
}

.tx-circle.red-bg {
    background-color: rgba(244, 63, 94, 0.12);
    color: #f87171;
}

.tx-item-info {
    flex: 1;
    margin-left: 6px;
    display: flex;
    flex-direction: column;
    gap: 0.5px;
}

.tx-name {
    font-weight: 700;
    color: #f1f5f9;
    font-size: 7.5px;
}

.tx-time {
    font-size: 6px;
    color: #64748b;
}

.tx-value {
    font-weight: 800;
    font-size: 7.5px;
}

.tx-value.green-text {
    color: #34d399;
}

.tx-value.red-text {
    color: #f87171;
}

.login-brand-desc {
    z-index: 1;
    padding: 0 2px;
}

.desc-title {
    font-size: 10px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.desc-text {
    font-size: 8px;
    color: #94a3b8;
    line-height: 1.3;
    margin-top: 2px;
}

.login-footer {
    z-index: 1;
    display: flex;
    justify-content: space-between;
    font-size: 6.5px;
    color: #475569;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 6px;
}

/* ==========================================
   2. DOMPETKU DASHBOARD WORKSPACE (Card Right 1)
   ========================================== */
.dompetku-body {
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    background-color: #0e1220 !important;
    color: #ffffff;
    height: 100%;
}

/* Sidebar */
.dompetku-sidebar {
    width: 38px; /* Upscaled from 22px */
    background-color: #131929;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 12px;
    gap: 8px;
}

.dompetku-logo-icon {
    color: #3b82f6;
    margin-bottom: 6px;
}

.dompetku-logo-icon svg {
    width: 14px;
    height: 14px;
}

.dompetku-nav-item {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.04);
}

.dompetku-nav-item.active {
    background-color: #3b82f6;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

/* Main Content Panel */
.dompetku-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0.9rem; /* Upscaled from 0.5rem */
    gap: 0.8rem;
    justify-content: space-between;
}

.dompetku-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dompetku-mini-title {
    font-size: 10px; /* Upscaled from 7px */
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.dompetku-mini-btn {
    width: 28px;
    height: 10px;
    border-radius: 3px;
    background-color: #3b82f6;
}

.dompetku-widgets {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
    justify-content: center;
}

.dompetku-widget {
    background-color: #131929;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 0.6rem;
    display: flex;
    align-items: center;
}

/* Donut Widget */
.dompetku-widget.chart-donut {
    justify-content: space-around;
    gap: 8px;
}

.dompetku-donut-ring {
    width: 48px; /* Upscaled from 28px */
    height: 48px;
    border-radius: 50%;
    background: conic-gradient(#f43f5e 0% 17%, #3b82f6 17% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dompetku-donut-center {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #131929;
}

.dompetku-chart-legends {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    margin-left: 8px;
}

.legend-line {
    height: 3px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    width: 75%;
}

.legend-line.short {
    width: 45%;
}

/* Bars Widget */
.dompetku-widget.chart-bars {
    height: 68px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 4px;
}

.dompetku-bars-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    width: 100%;
    height: 100%;
    gap: 5px;
    padding: 0 4px;
}

.dompetku-bar-col {
    width: 6px;
    background-color: #3b82f6;
    border-radius: 2px;
}

.dompetku-bar-col.h-60 { height: 60%; }
.dompetku-bar-col.h-20 { height: 20%; }
.dompetku-bar-col.h-80 { height: 80%; }
.dompetku-bar-col.h-40 { height: 40%; }
.dompetku-bar-col.h-70 { height: 70%; }

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.9); }
}

/* ==========================================================================
   3. DOMPETKU FULL BENTO DASHBOARD SCREEN (Card Right 1)
   ========================================================================== */
.dompetku-dashboard-full {
    border-color: rgba(255, 255, 255, 0.05) !important;
}

.dompetku-dashboard-body {
    display: flex !important;
    flex-direction: row !important;
    background-color: #0e1220 !important;
    color: #ffffff;
    height: 100%;
    font-family: var(--font-sans);
}

/* Left Sidebar Layout */
.dashboard-sidebar {
    width: 90px; /* Reduced slightly from 108px since icons are removed */
    background-color: #131929;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    padding: 0.8rem 0.5rem;
    gap: 0.8rem;
    flex-shrink: 0;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 2px;
}

.logo-icon-box {
    width: 14px;
    height: 14px;
    background-color: #3b82f6;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-svg {
    width: 9px;
    height: 9px;
    color: white;
}

.logo-text {
    font-size: 9.5px;
    font-weight: 900;
    color: white;
    letter-spacing: -0.02em;
}

.logo-text .blue-text {
    color: #3b82f6;
}

/* Profile Section inside Sidebar */
.sidebar-profile {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 6px;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.profile-avatar {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #2563eb;
    color: white;
    font-size: 8.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-details {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    overflow: hidden;
}

.profile-name {
    font-size: 8px;
    font-weight: 700;
    color: #e2e8f0;
}

.profile-email {
    font-size: 6px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60px;
}

/* Sidebar Nav items matching Next.js menu */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 6px; /* Compact padding for text breathing room */
    border-radius: 4px;
    color: #8a92a6;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-nav .nav-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
    color: #ffffff;
}

.sidebar-nav .nav-item.active {
    background-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
}

.item-icon {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: currentColor;
    flex-shrink: 0;
}

.item-label {
    font-size: 7px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px; /* Adapted to smaller sidebar bounds */
}

/* Main Dashboard Panel */
.dashboard-main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem 1.2rem;
    gap: 0.8rem;
    overflow: hidden;
    justify-content: space-between;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px; /* Separation gap between title and buttons */
}

.main-title {
    font-size: 10px; /* Reduced to guarantee it stays in a single line */
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
}

.main-subtitle {
    font-size: 8.5px;
    color: #64748b;
    margin-top: 1px;
}

.header-actions {
    display: flex;
    gap: 4px;
}

.header-actions .action-btn {
    font-size: 7px;
    font-weight: 800;
    padding: 3.5px 7px;
    border-radius: 3px;
    cursor: pointer;
}

.header-actions .action-btn.yellow-btn {
    background-color: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.header-actions .action-btn.blue-btn {
    background-color: #2563eb;
    color: white;
}

/* Bento Layout Row 1 */
.dashboard-row-1 {
    display: flex;
    gap: 0.8rem;
}

.dashboard-row-1 .widget-box {
    flex: 1;
    background-color: #131929;
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.widget-title {
    font-size: 8px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.donut-body {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 8px;
}

.donut-chart-container {
    width: 72px; /* Upscaled to fill empty space */
    height: 72px;
    flex-shrink: 0;
}

.donut-ring-large {
    width: 52px; /* Increased slightly to look fuller */
    height: 52px;
    border-radius: 50%;
    background: conic-gradient(#f43f5e 0% 17%, #3b82f6 17% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.donut-center-large {
    width: 36px; /* Adjusted to balance 52px ring */
    height: 36px;
    border-radius: 50%;
    background-color: #131929;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
}

.donut-center-large .donut-label {
    font-size: 4.5px;
    color: #64748b;
    font-weight: 700;
}

.donut-center-large .donut-value {
    font-size: 7px; /* Increased to fit inside 36px circle */
    font-weight: 900;
    color: white;
}

.donut-legends {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.donut-legends .legend-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.donut-legends .legend-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.donut-legends .legend-dot.blue { background-color: #3b82f6; }
.donut-legends .legend-dot.rose { background-color: #f43f5e; }

.donut-legends .legend-text {
    font-size: 7.5px;
    color: #94a3b8;
}

/* Daily expenditure bar charts */
.bar-body {
    height: 72px; /* Upscaled from 38px */
    display: flex;
    align-items: flex-end;
}

.bars-container-large {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    gap: 6px;
}

.bars-container-large .bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 1;
    height: 100%;
    justify-content: flex-end;
}

.bars-container-large .bar {
    width: 8px; /* Upscaled from 5px */
    background-color: #3b82f6;
    border-radius: 2px;
}

.bars-container-large .bar.h-60 { height: 60%; }
.bars-container-large .bar.h-20 { height: 20%; }
.bars-container-large .bar.h-80 { height: 80%; }
.bars-container-large .bar.h-40 { height: 40%; }
.bars-container-large .bar.h-70 { height: 70%; }

.bars-container-large .bar-date {
    font-size: 6.5px;
    color: #64748b;
}

/* Bento Layout Row 2 (Annual line chart) */
.dashboard-row-2 {
    display: flex;
}

.dashboard-row-2 .widget-box {
    width: 100%;
    background-color: #131929;
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.line-chart-body {
    height: 65px; /* Upscaled from 30px to fill space */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.line-chart-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.line-chart-legends {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    align-items: center;
    margin-top: 4px;
}

.line-chart-legends .legend-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.line-chart-legends .legend-dot.blue { background-color: #3b82f6; }

.line-chart-legends .legend-label {
    font-size: 7px;
    color: #64748b;
}

/* ==========================================
   4. STACKED VERTICAL BENTO DASHBOARD WIDGETS
   ========================================== */
.stacked-layout {
    gap: 20px !important; /* Set gap of each item to exactly 20px */
    justify-content: flex-start !important; /* Avoid automatic spacing stretch */
}

/* Widget Category Distribution (Pie Chart - Top) */
.category-distribution-full {
    flex: 1; /* Stretch vertically to divide height equally and symmetrically */
    background-color: #131929;
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 0.5rem 0.7rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 4px;
}

.donut-body-full {
    display: flex;
    align-items: center;
    gap: 22px; /* Increased gap to push legends to the right, preventing pie chart collisions */
}

.donut-chart-container-large {
    width: 52px; /* Increased to make it look full and prominent */
    height: 52px;
    flex-shrink: 0;
}

.donut-legends-full {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.donut-legends-full .legend-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.donut-legends-full .legend-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
}

.donut-legends-full .legend-dot.blue { background-color: #3b82f6; }
.donut-legends-full .legend-dot.rose { background-color: #f43f5e; }

.donut-legends-full .legend-text {
    font-size: 6.5px;
    color: #94a3b8;
}

.donut-legends-full .legend-text strong {
    color: #ffffff;
}

/* Widget Daily Spending (Bar Chart - Middle) */
.daily-spending-full {
    flex: 1; /* Stretch vertically to divide height equally and symmetrically */
    background-color: #131929;
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 0.5rem 0.7rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 4px;
}

.bar-body-full {
    flex: 1; /* Fill the expanded box height */
    display: flex;
    align-items: flex-end;
    min-height: 44px;
}

.bars-container-large-full {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    gap: 8px;
}

.bars-container-large-full .bar-item-full {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 1;
    height: 100%;
    justify-content: flex-end;
}

.bars-container-large-full .bar {
    width: 8px;
    background-color: #3b82f6;
    border-radius: 2px;
}

.bars-container-large-full .bar.h-60 { height: 60%; }
.bars-container-large-full .bar.h-20 { height: 20%; }
.bars-container-large-full .bar.h-80 { height: 80%; }
.bars-container-large-full .bar.h-40 { height: 40%; }
.bars-container-large-full .bar.h-70 { height: 70%; }

.bars-container-large-full .bar-date {
    font-size: 6px;
    color: #64748b;
}

/* Widget Annual Trend (Line Chart - Bottom) */
.annual-trend-full {
    flex: 1; /* Stretch vertically to divide height equally and symmetrically */
    background-color: #131929;
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 0.5rem 0.7rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 4px;
}

.line-chart-body-full {
    flex: 1; /* Fill the expanded box height dynamically to prevent SVG overflow */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 48px;
}

/* ==========================================================================
   5. HABITZZZ LOGIN BRANDING PANEL (Card Left 2)
   ========================================================================== */
.habitzzz-login-branding {
    background: linear-gradient(135deg, #1e40af 0%, #6d28d9 100%) !important; /* Rich blue-to-indigo gradient matching the screenshot */
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Grid lines pattern overlay */
.habitzzz-grid-bg {
    position: absolute;
    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: 20px 20px;
    pointer-events: none;
    z-index: 1;
}

.habitzzz-body {
    position: relative;
    z-index: 2;
    padding: 1rem 1rem 0.8rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 0.6rem;
    height: 100%;
    color: #ffffff;
    font-family: var(--font-sans);
}

/* Top Content: Hero Title & Description */
.habitzzz-top-content {
    text-align: center;
    margin-top: 2px;
}

.habitzzz-hero-title {
    font-size: 16px; /* Increased from 13.5px */
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.habitzzz-hero-desc {
    font-size: 7.2px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.35;
    margin-top: 5px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* Widgets Container: vertical stack layout */
.habitzzz-widgets-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1; /* Grow to fill remaining card body space */
    width: 100%;
}

/* Base widget styles */
.habitzzz-widget-card {
    position: relative; /* Changed from absolute to participate in flex flow */
    border-radius: 12px;
    padding: 0.75rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    width: 100%;
    box-sizing: border-box;
}

/* Card 1: HabitForge Card (Top) */
.card-habits {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
    flex: 1; /* Allow to grow proportionally */
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-main-title {
    font-size: 7.5px;
    font-weight: 800;
    color: #ffffff;
}

.card-sub-title {
    font-size: 5.5px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.5px;
}

.badge-completed {
    font-size: 5.2px;
    font-weight: 800;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5px 6px;
    border-radius: 99px;
}

/* Habit List */
.habits-list-preview {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}

.habit-row {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 3.5px 5px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
}

.habit-row.done {
    opacity: 0.55;
}

.habit-row.done .habit-label-text {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.6);
}

.circle-check {
    width: 8.5px;
    height: 8.5px;
    border-radius: 50%;
    background-color: #10b981;
    color: #ffffff;
    font-size: 5.5px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.circle-empty {
    width: 8.5px;
    height: 8.5px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
}

.habit-label-text {
    font-size: 6.8px;
    font-weight: 500;
    color: #f1f5f9;
}

/* Card 2: Tasks Card (Bottom) */
.card-tasks {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 4;
    flex-shrink: 0; /* Don't compress — let HabitForge grow */
}

.task-detail-box {
    background: rgba(59, 130, 246, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 5px 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
}

.task-detail-box--medium {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.2);
}

.task-detail-box--low {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.06);
}

.task-text-info {
    display: flex;
    flex-direction: column;
    gap: 1.5px;
}

.task-title-text {
    font-size: 7px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.task-due-date {
    font-size: 5.2px;
    color: rgba(255, 255, 255, 0.7);
}

.badge-tag-high {
    font-size: 5px;
    font-weight: 800;
    color: #ffffff;
    background: #e11d48; /* Coral/Rose Tag */
    padding: 1.5px 5px;
    border-radius: 99px;
}

.badge-tag-medium {
    font-size: 5px;
    font-weight: 800;
    color: #ffffff;
    background: #d97706; /* Amber */
    padding: 1.5px 5px;
    border-radius: 99px;
    white-space: nowrap;
}

.badge-tag-low {
    font-size: 5px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5px 5px;
    border-radius: 99px;
    white-space: nowrap;
}

/* Floating IPK Badge (Overlaps Habits Card Top) */
.habitzzz-badge-ipk {
    position: absolute;
    top: 2px;
    right: 24px;
    background: #ffffff;
    color: #2563eb;
    border-radius: 99px;
    padding: 3px 8px;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 5;
}

.habitzzz-badge-ipk .badge-icon {
    font-size: 6px;
}

.habitzzz-badge-ipk .badge-text {
    font-size: 6.8px;
    font-weight: 800;
}

/* Floating Streak Badge (Overlaps Habits Card Bottom-Left) */
.habitzzz-badge-streak {
    position: absolute;
    top: 112px; /* Positioned relative to card top for overlap stability */
    left: 4px;
    background: linear-gradient(90deg, #ff8a00 0%, #ea580c 100%);
    color: #ffffff;
    border-radius: 99px;
    padding: 3.5px 8px;
    display: flex;
    align-items: center;
    gap: 3.5px;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
    z-index: 5;
}

.habitzzz-badge-streak .streak-icon {
    font-size: 6px;
}

.habitzzz-badge-streak .streak-text {
    font-size: 6.8px;
    font-weight: 800;
}

/* Footer Copyright Text */
.habitzzz-footer-text {
    font-size: 6.8px;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    margin-bottom: 2px;
}

/* Specific white header tab title for Habitzzz card */
.habitzzz-login-branding .mockup-header .mockup-tab-title {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* ==========================================================================
   6. MACABAE LIBRARY PROJECT (Card Right 2)
   ========================================================================== */
.macabae-preview {
    background-color: #F8FAFC !important; /* Clean slate-50 white background */
    border-color: rgba(0, 0, 0, 0.06) !important;
}

.macabae-tab-title {
    color: #2F3951 !important;
    font-weight: 700;
}

.macabae-preview .mockup-header {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.macabae-body {
    padding: 0.6rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem; /* Increased gap for better spacing between sections */
    overflow: hidden;
    background: #F8FAFC;
    height: 100%;
}

/* Search Bar */
.mb-search-bar {
    display: flex;
    gap: 4px;
    align-items: center;
}

.mb-search-input {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 4px 6px;
    color: #94a3b8;
}

.mb-search-placeholder {
    font-size: 5.5px;
    color: #94a3b8;
    font-weight: 400;
}

.mb-search-btn {
    background: #4D9BE2;
    color: #ffffff;
    font-size: 5.5px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 8px;
    flex-shrink: 0;
}

/* Promo Banner */
.mb-banner {
    position: relative;
    background: linear-gradient(135deg, #4D9BE2 0%, #5fa3e7 50%, #7cbdf2 100%);
    border-radius: 10px;
    padding: 8px 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.mb-banner-waves {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0,50 Q25,70 50,50 T100,50 L100,100 L0,100 Z' fill='white' opacity='0.08'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    pointer-events: none;
}

.mb-banner-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.mb-brand-logo {
    font-size: 6px;
    font-weight: 900;
    letter-spacing: 0.5px;
    opacity: 0.9;
    display: block;
    margin-bottom: 2px;
}

.mb-banner-title {
    font-size: 7.5px;
    font-weight: 900;
    line-height: 1.3;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.mb-banner-sub {
    font-size: 5.5px;
    color: rgba(255,255,255,0.85);
    margin-top: 2px;
    font-weight: 500;
}

/* Stats Grid (2x2) */
.mb-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    flex-shrink: 0;
}

.mb-stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 5px 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mb-stat-icon {
    width: 16px;
    height: 16px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.blue-icon   { background: #eff6ff; color: #4D9BE2; }
.rose-icon   { background: #fff1f2; color: #f43f5e; }
.emerald-icon { background: #ecfdf5; color: #10b981; }
.amber-icon  { background: #fffbeb; color: #f59e0b; }

.mb-stat-label {
    font-size: 4.5px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mb-stat-value {
    font-size: 7px;
    font-weight: 900;
    color: #2F3951;
    margin-top: 1px;
}

/* Book Sections */
.mb-section {
    display: flex;
    flex-direction: column;
    gap: 6px; /* Increased vertical space between title and books */
    flex-shrink: 0;
}

.mb-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mb-section-title {
    font-size: 6px;
    font-weight: 800;
    color: #2F3951;
}

.mb-lihat-btn {
    font-size: 5px;
    font-weight: 700;
    color: #ffffff;
    background: #4D9BE2;
    padding: 2px 6px;
    border-radius: 5px;
}

/* Books Grid (5 columns) */
.mb-books-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 5px;
    row-gap: 8px; /* Vertical gap between book covers */
    margin-top: 4px; /* Space between section title/header and the books */
    margin-bottom: 4px; /* Space below the books grid */
}

.mb-book-cover {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    background: #e2e8f0;
}

.mb-book-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

/* Return date badge (top-left, blue) */
.mb-book-date-badge {
    position: absolute;
    top: 2px;
    left: 2px;
    z-index: 2;
    background: #4D9BE2;
    color: #ffffff;
    font-size: 3.5px;
    font-weight: 700;
    padding: 1.5px 3px;
    border-radius: 3px;
    line-height: 1.2;
}

/* Status badges (top-right) */
.mb-book-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    z-index: 2;
    font-size: 3.5px;
    font-weight: 800;
    padding: 1.5px 3px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    color: #ffffff;
}

.mb-book-badge.available { background: #10b981; }
.mb-book-badge.ebook     { background: #4D9BE2; }
.mb-book-badge.borrowed  { background: #f43f5e; }

/* Empty book slot */
.mb-book-empty {
    background: rgba(248,250,252,0.8) !important;
    border: 1.5px dashed #cbd5e1 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.mb-book-empty span {
    font-size: 3.5px;
    font-weight: 700;
    color: #4D9BE2;
}

/* Footer */
.mb-footer {
    font-size: 5px;
    color: #94a3b8;
    text-align: center;
    padding-top: 2px;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
}

/* ==========================================================================
   CUSTOM TOOLS POPUP MODAL (Glassmorphic, smooth reveal)
   ========================================================================== */
.tools-popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 5, 9, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tools-popup-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.tools-popup-content {
    background-color: rgba(22, 19, 32, 0.85);
    border: 1px solid rgba(155, 92, 246, 0.2);
    border-radius: 24px;
    padding: 2.5rem;
    width: 90%;
    max-width: 440px;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 80px rgba(155, 92, 246, 0.12);
}

.tools-popup-modal.active .tools-popup-content {
    transform: scale(1) translateY(0);
}

.tools-popup-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 1.25rem;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tools-popup-close:hover {
    background-color: #ffffff;
    color: #000000;
    transform: rotate(90deg);
}

.tools-popup-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.tools-popup-icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 12px;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(155, 92, 246, 0.3);
}

.tools-popup-icon-wrapper svg {
    width: 28px !important;
    height: 28px !important;
    color: #ffffff !important;
    filter: none !important;
}

.tools-popup-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
}

.tools-popup-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ==========================================================================
   GRAPHIC DESIGN GALLERY SECTION
   ========================================================================== */
.gallery-section {
    padding: 2rem 0 8rem 0; /* Reduced top padding to move it closer to Dompetku above it */
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4.5rem; /* Perbesar gap antar card */
    margin-top: 3.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    cursor: pointer;
    background-color: var(--gray-mockup-bg);
    aspect-ratio: 3 / 4; /* Exact 1080x1440 ratio */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.3s;
}

.gallery-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.05); /* Hitam putih default */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    /* Gradient ungu halus default */
    background: linear-gradient(to top, rgba(13, 11, 19, 0.95) 0%, rgba(155, 92, 246, 0.25) 50%, rgba(155, 92, 246, 0.15) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 1.8rem;
    opacity: 0.9; /* Sedikit transparan secara default */
    transition: background 0.5s ease, opacity 0.5s;
}

.gallery-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    transform: translateY(8px); /* Efek teks naik saat hover */
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gallery-item-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.gallery-item-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
}

.gallery-item-icon {
    width: 16px !important;
    height: 16px !important;
    color: #ffffff !important;
}

/* Hover States */
.gallery-item:hover {
    transform: translateY(-8px);
    border-color: rgba(140, 100, 255, 0.3);
    box-shadow: 0 20px 40px rgba(140, 100, 255, 0.08), 0 15px 30px rgba(0, 0, 0, 0.4);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.04);
    filter: grayscale(0%) contrast(1); /* Jadi full color saat hover */
}

.gallery-item:hover .gallery-item-overlay {
    background: linear-gradient(to top, rgba(13, 11, 19, 0.95) 0%, rgba(13, 11, 19, 0.35) 60%, transparent 100%);
    opacity: 1;
}

.gallery-item:hover .gallery-item-info {
    transform: translateY(0);
}

/* Custom arched positioning for gallery items on desktop - middle card is largest */
@media (min-width: 1025px) {
    .gallery-item:nth-child(1) {
        transform: translateY(35px) rotate(-4deg) scale(0.9);
        transform-origin: bottom right;
    }
    .gallery-item:nth-child(2) {
        transform: translateY(0) rotate(0deg) scale(1.03);
        z-index: 5;
    }
    .gallery-item:nth-child(3) {
        transform: translateY(35px) rotate(4deg) scale(0.9);
        transform-origin: bottom left;
    }
    
    .gallery-item:nth-child(1):hover {
        transform: translateY(-10px) rotate(0deg) scale(1.04) !important;
        z-index: 10;
    }
    .gallery-item:nth-child(2):hover {
        transform: translateY(-10px) rotate(0deg) scale(1.06) !important;
        z-index: 10;
    }
    .gallery-item:nth-child(3):hover {
        transform: translateY(-10px) rotate(0deg) scale(1.04) !important;
        z-index: 10;
    }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        border-top: 1px solid var(--border-color) !important;
        padding: 70px 0 5rem 0 !important; /* Set top padding to exactly 32px as requested */
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    .gallery-item-overlay {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   LIGHTBOX MODAL FOR GALLERY
   ========================================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background-color: rgba(6, 5, 9, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s, transform 0.2s;
}

.lightbox-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

body.lightbox-open {
    overflow: hidden !important;
}

/* Glowing brain/avatar concept design - full-width mockup card */
.brain-mockup-full {
    background: #09080d !important;
}

.brain-page-layout-full {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    padding: 2.2rem 2.5rem;
    position: relative;
}

.brain-concept-container-full {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    margin-top: 0; /* Remove top offset for perfect centering */
}

.brain-svg-full {
    max-width: 320px; /* Larger size to occupy the full card width nicely */
    width: 100%;
    height: auto;
}

.logo-glow-ring {
    fill: none;
    stroke: #a855f7;
    stroke-width: 2px;
    animation: avatarGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes avatarGlowPulse {
    0% {
        stroke: #a855f7;
        filter: drop-shadow(0 0 4px #a855f7);
    }
    100% {
        stroke: #6366f1;
        filter: drop-shadow(0 0 12px #6366f1);
    }
}

.cable-line {
    fill: none;
    stroke: rgba(155, 92, 246, 0.25);
    stroke-width: 1.5px;
    stroke-linecap: round;
}

.connection-ring {
    fill: none;
    stroke: rgba(99, 102, 241, 0.2);
    stroke-width: 1px;
}

.connection-ring.inner {
    stroke: rgba(168, 85, 247, 0.25);
}

.pulse-node {
    fill: #a855f7;
    filter: drop-shadow(0 0 4px #a855f7);
}

.p1 { fill: #c084fc; }
.p2 { fill: #818cf8; }
.p3 { fill: #a78bfa; }
.p4 { fill: #6366f1; }

