/* ==========================================================================
   DAYAT / DAYTE — PERSONAL PORTFOLIO STYLESHEET
   Concept: Soft White Modern Technology
   ========================================================================== */

:root {
    /* Color Palette (Soft Monochrome Black & White) */
    --bg-primary: #FFFFFF;
    --bg-secondary: #FAFAFA;
    --accent-purple: #18181B;
    --accent-purple-dark: #09090B;
    --accent-purple-light: #52525B;
    --soft-blue: #F4F4F5;
    --soft-lavender: #F4F4F5;
    --text-dark: #18181B;
    --text-secondary: #52525B;
    --text-muted: #71717A;

    /* Surface & Borders */
    --card-bg: rgba(255, 255, 255, 0.92);
    --card-border: rgba(24, 24, 27, 0.1);
    --input-bg: #FAFAFA;
    --input-border: #E4E4E7;
    --nav-bg: rgba(255, 255, 255, 0.86);
    --footer-bg: #FAFAFA;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #18181B 0%, #27272A 55%, #3F3F46 100%);
    --gradient-soft: linear-gradient(135deg, #FAFAFA 0%, #F4F4F5 100%);
    --gradient-hero-bg: radial-gradient(circle at 82% 28%, rgba(244, 244, 245, 0.7) 0%, rgba(250, 250, 250, 0.5) 36%, rgba(255, 255, 255, 0) 70%);

    /* Shadows */
    --shadow-xs: 0 4px 14px rgba(24, 24, 27, 0.04);
    --shadow-sm: 0 10px 28px rgba(24, 24, 27, 0.06);
    --shadow-md: 0 18px 42px rgba(24, 24, 27, 0.08);
    --shadow-lg: 0 24px 60px rgba(24, 24, 27, 0.12);
    --shadow-btn: 0 10px 24px rgba(24, 24, 27, 0.16);

    /* Radii & Transitions */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    --transition-fast: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Optional Dark Mode Theme */
[data-theme="dark"] {
    --bg-primary: #09090B;
    --bg-secondary: #121215;
    --accent-purple: #F4F4F5;
    --accent-purple-dark: #FFFFFF;
    --accent-purple-light: #A1A1AA;
    --soft-blue: #18181B;
    --soft-lavender: #27272A;
    --text-dark: #FAFAFA;
    --text-secondary: #A1A1AA;
    --text-muted: #71717A;
    --card-bg: rgba(24, 24, 27, 0.88);
    --card-border: rgba(255, 255, 255, 0.12);
    --input-bg: #18181B;
    --input-border: #27272A;
    --nav-bg: rgba(9, 9, 11, 0.86);
    --footer-bg: #121215;
    --gradient-primary: linear-gradient(135deg, #FAFAFA 0%, #E4E4E7 100%);
    --gradient-hero-bg: radial-gradient(circle at 82% 28%, rgba(39, 39, 42, 0.35) 0%, rgba(24, 24, 27, 0.25) 42%, rgba(9, 9, 11, 0) 70%);
    --shadow-xs: 0 4px 14px rgba(0, 0, 0, 0.22);
    --shadow-sm: 0 10px 28px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 18px 42px rgba(0, 0, 0, 0.42);
}

/* ==========================================================================
   1. RESET & BASE STYLES
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
    overflow-x: clip;
}

body {
    font-family: 'Plus Jakarta Sans', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-dark);
    line-height: 1.65;
    overflow-x: clip;
    transition: background-color var(--transition-smooth), color var(--transition-smooth);
    position: relative;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

button,
input,
textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

button {
    cursor: pointer;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Ambient Background Blobs */
.ambient-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.ambient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(85px);
    opacity: 0.55;
}

.blob-1 {
    width: 420px;
    height: 420px;
    background: var(--soft-lavender);
    top: -100px;
    left: -120px;
}

.blob-2 {
    width: 480px;
    height: 480px;
    background: var(--soft-blue);
    top: 12%;
    right: -140px;
}

.blob-3 {
    width: 380px;
    height: 380px;
    background: var(--soft-lavender);
    bottom: 10%;
    left: 15%;
    opacity: 0.4;
}

/* ==========================================================================
   2. REUSABLE TYPOGRAPHY & BUTTONS
   ========================================================================== */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-purple);
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.section-tag.centered {
    justify-content: center;
}

.tag-line {
    width: 24px;
    height: 2.5px;
    background: var(--accent-purple);
    border-radius: 4px;
}

.section-title {
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.22;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 560px;
}

.text-center {
    text-align: center;
}

.text-center .section-subtitle {
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.93rem;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 0.96rem;
}

.btn-sm {
    padding: 9px 18px;
    font-size: 0.84rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(24, 24, 27, 0.22);
}

.btn-outline {
    background: var(--card-bg);
    color: var(--text-dark);
    border: 1.5px solid rgba(24, 24, 27, 0.2);
    box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    background: var(--soft-lavender);
    transform: translateY(-2px);
}

/* ==========================================================================
   3. NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 12px 0;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 6px 28px rgba(24, 24, 27, 0.05);
    border-bottom: 1px solid var(--card-border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Brand Logo */
.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.logo-icon {
    width: 40px;
    height: 30px;
    display: inline-flex;
    align-items: center;
}

.logo-code-symbol {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.2rem;
}

.logo-slash {
    color: var(--text-muted);
    margin: 0 1px;
    font-weight: 800;
}

.logo-accent {
    color: var(--text-secondary);
}

/* Nav Links */
.nav-list {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(244, 244, 245, 0.85);
    padding: 5px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--card-border);
}

[data-theme="dark"] .nav-list {
    background: rgba(24, 24, 27, 0.82);
}

.nav-link {
    display: inline-block;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-dark);
}

.nav-link.active {
    background: var(--accent-purple);
    color: var(--bg-primary);
    box-shadow: 0 4px 14px rgba(24, 24, 27, 0.16);
}

.nav-mobile-cta {
    display: none;
}

/* Right Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--soft-lavender);
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--card-border);
    transition: var(--transition-fast);
}

.theme-toggle:hover {
    background: var(--accent-purple);
    color: var(--bg-primary);
    transform: rotate(12deg);
}

.icon-sun {
    display: none;
}

[data-theme="dark"] .icon-moon {
    display: none;
}

[data-theme="dark"] .icon-sun {
    display: block;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--soft-lavender);
    padding: 9px;
}

.hamburger .bar {
    width: 100%;
    height: 2.2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(7.2px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-7.2px) rotate(-45deg);
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 135px 0 95px;
    background: var(--gradient-hero-bg);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 16px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-xs);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 22px;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22C55E;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.18); opacity: 0.8; }
}

.hero-title {
    font-size: clamp(2.5rem, 4.8vw, 3.85rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.wave-hand {
    display: inline-block;
    transform-origin: 70% 70%;
    animation: waveHand 2.4s ease-in-out infinite;
}

@keyframes waveHand {
    0%, 60%, 100% { transform: rotate(0deg); }
    15% { transform: rotate(16deg); }
    30% { transform: rotate(-10deg); }
    45% { transform: rotate(14deg); }
}

.hero-profession {
    font-size: clamp(2rem, 3.9vw, 3.1rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.025em;
    color: var(--text-dark);
    margin-bottom: 20px;
    min-height: 1.25em;
}

.typing-cursor {
    color: var(--accent-purple);
    font-weight: 500;
    margin-left: 2px;
    animation: blinkCursor 0.85s infinite;
}

@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-description {
    font-size: 1.06rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
}

/* Social Icons */
.hero-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--soft-lavender);
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--card-border);
    transition: var(--transition-smooth);
}

.social-icon.sm {
    width: 36px;
    height: 36px;
}

.social-icon:hover {
    background: var(--accent-purple);
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(24, 24, 27, 0.22);
}

/* Hero Right Visual Stage */
.hero-stage {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-aura {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* ==========================================================================
   HERO SECTION HIGH-CONTRAST CRISP TYPOGRAPHY & ELEMENTS ("CERAHIN KOK BURAM")
   ========================================================================== */
.hero-section .hero-content.reveal-left,
.hero-section .hero-visual.reveal-right {
    opacity: 1 !important;
    transform: none !important;
}

/* Dark mode & dark background high-contrast sharpness overrides */
html[data-theme="dark"] .hero-section .hero-title,
body.dark-mode .hero-section .hero-title,
[data-theme="dark"] .hero-section .hero-title {
    color: #ffffff !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .hero-section .gradient-text,
body.dark-mode .hero-section .gradient-text,
[data-theme="dark"] .hero-section .gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

html[data-theme="dark"] .hero-section .hero-profession,
body.dark-mode .hero-section .hero-profession,
[data-theme="dark"] .hero-section .hero-profession {
    color: #f8fafc !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .hero-section .typing-cursor,
body.dark-mode .hero-section .typing-cursor,
[data-theme="dark"] .hero-section .typing-cursor {
    color: #38bdf8 !important;
}

html[data-theme="dark"] .hero-section .status-badge,
body.dark-mode .hero-section .status-badge,
[data-theme="dark"] .hero-section .status-badge {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #f8fafc !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
    backdrop-filter: blur(10px);
}

html[data-theme="dark"] .hero-section .status-badge span,
body.dark-mode .hero-section .status-badge span,
[data-theme="dark"] .hero-section .status-badge span {
    color: #f8fafc !important;
}

.hero-section .status-dot {
    background: #22c55e !important;
    box-shadow: 0 0 14px #22c55e !important;
}

html[data-theme="dark"] .hero-section .hero-description,
body.dark-mode .hero-section .hero-description,
[data-theme="dark"] .hero-section .hero-description {
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .hero-section .btn-outline,
body.dark-mode .hero-section .btn-outline,
[data-theme="dark"] .hero-section .btn-outline {
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.38) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(8px);
}

html[data-theme="dark"] .hero-section .btn-outline:hover,
body.dark-mode .hero-section .btn-outline:hover,
[data-theme="dark"] .hero-section .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
}

html[data-theme="dark"] .hero-section .btn-ghost,
body.dark-mode .hero-section .btn-ghost,
[data-theme="dark"] .hero-section .btn-ghost {
    color: #e2e8f0 !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

html[data-theme="dark"] .hero-section .btn-ghost:hover,
body.dark-mode .hero-section .btn-ghost:hover,
[data-theme="dark"] .hero-section .btn-ghost:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.18) !important;
}

html[data-theme="dark"] .hero-section .social-icon,
body.dark-mode .hero-section .social-icon,
[data-theme="dark"] .hero-section .social-icon {
    color: #f1f5f9 !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

html[data-theme="dark"] .hero-section .social-icon:hover,
body.dark-mode .hero-section .social-icon:hover,
[data-theme="dark"] .hero-section .social-icon:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: #ffffff !important;
    transform: translateY(-2px);
}

.developer-figure {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 430px;
}

/* Floating Code Editor Window behind Developer */
.floating-code-window {
    position: absolute;
    top: 18px;
    right: -12px;
    width: 215px;
    background: rgba(24, 27, 48, 0.92);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(155, 143, 255, 0.35);
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 18px 40px rgba(23, 26, 53, 0.22);
    transform: rotate(6deg);
    z-index: 1;
    animation: floatSlow 5.5s ease-in-out infinite;
}

.window-header {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 9px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.win-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.win-dot.red { background: #FF5F56; }
.win-dot.yellow { background: #FFBD2E; }
.win-dot.green { background: #27C93F; }

.win-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: #9CA3AF;
    margin-left: 4px;
}

.window-body {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    line-height: 1.55;
    color: #E5E7EB;
}

.indent-1 { padding-left: 12px; }
.c-purple { color: #C792EA; }
.c-blue { color: #82AAFF; }
.c-cyan { color: #89DDFF; }
.c-amber { color: #FFCB6B; }
.c-green { color: #C3E88D; }

/* Floating Tech Badges in Hero */
.float-badge {
    position: absolute;
    z-index: 3;
    animation: floatBadge 4.2s ease-in-out infinite;
}

.badge-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    font-weight: 800;
    color: #FFFFFF;
    box-shadow: 0 12px 26px rgba(23, 26, 53, 0.16);
    border: 2px solid rgba(255, 255, 255, 0.75);
}

.html-bg {
    background: linear-gradient(135deg, #FF6B35, #E44D26);
    transform: rotate(-10deg);
}

.css-bg {
    background: linear-gradient(135deg, #33A9DC, #1572B6);
    transform: rotate(8deg);
}

.js-bg {
    background: linear-gradient(135deg, #FFE44D, #F7DF1E);
    color: #171A35;
    transform: rotate(-8deg);
}

.php-bg {
    background: linear-gradient(135deg, #8F94CD, #6C70AA);
    font-size: 0.82rem;
    width: 50px;
    height: 38px;
    border-radius: 12px;
    transform: rotate(10deg);
}

.laravel-bg {
    background: linear-gradient(135deg, #FF5247, #FF2D20);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    transform: rotate(-6deg);
}

.badge-num {
    font-size: 1.15rem;
    line-height: 1;
}

.badge-sub {
    font-size: 0.52rem;
    letter-spacing: 0.04em;
    opacity: 0.9;
}

.badge-js-text {
    font-size: 1.1rem;
    font-weight: 800;
}

.badge-html { top: 42px; left: 26px; animation-delay: 0s; }
.badge-css { top: 145px; left: 52px; animation-delay: 0.7s; }
.badge-js { bottom: 138px; left: 16px; animation-delay: 1.4s; }
.badge-php { top: 8px; left: 125px; animation-delay: 0.4s; }
.badge-laravel { bottom: 190px; right: 6px; animation-delay: 1.1s; }

/* Coding Decoration Pills */
.code-pill {
    position: absolute;
    z-index: 3;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    animation: floatBadge 4.8s ease-in-out infinite;
}

.pill-tag {
    bottom: 125px;
    right: 12px;
    background: var(--gradient-primary);
    color: #FFFFFF;
    padding: 10px 16px;
    font-size: 1.05rem;
    transform: rotate(8deg);
}

.pill-braces {
    top: 105px;
    left: -6px;
    background: var(--card-bg);
    color: var(--accent-purple);
    border: 1px solid var(--card-border);
    padding: 6px 11px;
    font-size: 0.82rem;
    animation-delay: 1.2s;
}

.pill-div {
    bottom: 58px;
    left: 48px;
    background: var(--soft-lavender);
    color: var(--accent-purple);
    border: 1px solid var(--card-border);
    padding: 5px 11px;
    font-size: 0.76rem;
    animation-delay: 0.6s;
}

.sparkle {
    position: absolute;
    width: 20px;
    height: 20px;
    z-index: 2;
    animation: twinkle 3s ease-in-out infinite;
}

.sp-1 { bottom: 82px; right: 32px; }
.sp-2 { top: 85px; left: 8px; width: 14px; height: 14px; animation-delay: 1.2s; }

@keyframes floatBadge {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes floatSlow {
    0%, 100% { transform: rotate(6deg) translateY(0px); }
    50% { transform: rotate(4deg) translateY(-8px); }
}

@keyframes twinkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.85; }
    50% { transform: scale(1.25) rotate(18deg); opacity: 1; }
}

.section-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    pointer-events: none;
}

.section-wave svg {
    width: 100%;
    height: 65px;
}

/* ==========================================================================
   5. ABOUT ME SECTION
   ========================================================================== */
.about-section {
    padding: 90px 0 100px;
    background-color: var(--bg-secondary);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    align-items: center;
    gap: 48px;
}

/* Laptop Stage */
.laptop-stage {
    position: relative;
    max-width: 450px;
    margin: 0 auto;
    padding: 20px 0;
}

.laptop-glow {
    position: absolute;
    inset: 12% 10%;
    background: radial-gradient(circle, rgba(24, 24, 27, 0.08) 0%, rgba(228, 228, 231, 0.32) 60%, transparent 80%);
    filter: blur(25px);
    z-index: 0;
}

.laptop-svg {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 18px 34px rgba(23, 26, 53, 0.08));
}

.about-float {
    position: absolute;
    z-index: 3;
    border-radius: 13px;
    font-weight: 800;
    box-shadow: var(--shadow-sm);
    animation: floatBadge 4.4s ease-in-out infinite;
}

.af-code {
    top: -2px;
    left: 42px;
    background: var(--gradient-primary);
    color: #FFFFFF;
    font-family: 'JetBrains Mono', monospace;
    padding: 8px 15px;
    font-size: 1rem;
    transform: rotate(-8deg);
}

.af-php {
    top: -6px;
    right: 85px;
    background: linear-gradient(135deg, #8F94CD, #6C70AA);
    color: #FFFFFF;
    padding: 7px 14px;
    font-size: 0.85rem;
    transform: rotate(10deg);
    animation-delay: 0.5s;
}

.af-laravel {
    top: 58px;
    right: 26px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation-delay: 1s;
}

.af-js {
    bottom: 62px;
    right: 20px;
    background: var(--soft-blue);
    color: #2563EB;
    font-family: 'JetBrains Mono', monospace;
    padding: 6px 12px;
    font-size: 0.88rem;
    animation-delay: 1.5s;
}

.af-div {
    bottom: 45px;
    left: 12px;
    background: var(--card-bg);
    color: var(--accent-purple);
    border: 1px solid var(--card-border);
    font-family: 'JetBrains Mono', monospace;
    padding: 5px 11px;
    font-size: 0.78rem;
    animation-delay: 0.8s;
}

/* Right Content + Personal Info Columns (Matching Reference Layout) */
.about-content-wrap {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 34px;
    align-items: center;
}

.about-description {
    color: var(--text-secondary);
    font-size: 0.96rem;
    margin-bottom: 26px;
}

.about-description strong {
    color: var(--text-dark);
}

.about-info-col {
    border-left: 1.5px solid var(--card-border);
    padding-left: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 13px;
}

.info-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--soft-lavender);
    color: var(--accent-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-meta {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.info-value {
    font-size: 0.86rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   6. SKILLS SECTION
   ========================================================================== */
.skills-section {
    position: relative;
    padding: 95px 0;
    background-color: var(--bg-primary);
    overflow: hidden;
}

/* Decorative Pixel Grid Accents on Left & Right */
.pixel-decor {
    position: absolute;
    width: 120px;
    height: 140px;
    background-image: radial-gradient(var(--accent-purple) 2px, transparent 2px);
    background-size: 16px 16px;
    opacity: 0.16;
    pointer-events: none;
}

.pixel-left {
    top: 40px;
    left: 18px;
}

.pixel-right {
    top: 40px;
    right: 18px;
}

.section-header {
    margin-bottom: 50px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.skill-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-xs);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(24, 24, 27, 0.04) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-fast);
}

.skill-card:hover {
    transform: translateY(-7px);
    border-color: rgba(24, 24, 27, 0.32);
    box-shadow: var(--shadow-md);
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-icon-box {
    width: 62px;
    height: 62px;
    margin: 0 auto 16px;
    border-radius: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.skill-card:hover .skill-icon-box {
    transform: scale(1.08) rotate(-3deg);
    background: var(--soft-lavender);
}

.skill-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.skill-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   7. PROJECTS SECTION
   ========================================================================== */
.projects-section {
    padding: 95px 0;
    background-color: var(--bg-secondary);
}

.projects-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 44px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 14px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(112, 101, 245, 0.35);
}

.project-thumb {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 18px;
}

/* Custom Rich Browser Mockups */
.browser-Mockup {
    border-radius: 14px;
    overflow: hidden;
    height: 205px;
    display: flex;
    flex-direction: column;
    transition: transform 0.45s ease;
}

.project-card:hover .browser-Mockup {
    transform: scale(1.02);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.browser-bar.dark {
    background: #1B1E34;
    color: #9CA3AF;
}

.browser-bar.coffee {
    background: #2C1B12;
    color: #D6BFA9;
}

.b-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.b-dot.r { background: #FF5F56; }
.b-dot.y { background: #FFBD2E; }
.b-dot.g { background: #27C93F; }

.b-url {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    opacity: 0.7;
    margin-left: 6px;
}

.mockup-content {
    flex: 1;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* Mockup 1: KasirKu POS */
.pos-ui {
    background: linear-gradient(135deg, #F5F3FF 0%, #E0E7FF 100%);
    color: #171A35;
}

.pos-badge {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    color: #7065F5;
    background: #FFFFFF;
    padding: 3px 8px;
    border-radius: 20px;
    margin-bottom: 6px;
}

.pos-left h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #171A35;
    line-height: 1.15;
}

.pos-left p {
    font-size: 0.68rem;
    color: #5B5E78;
    margin-bottom: 10px;
}

.pos-mini-stats {
    display: flex;
    gap: 8px;
}

.pos-stat {
    background: #FFFFFF;
    padding: 5px 9px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(112, 101, 245, 0.08);
}

.pos-stat span {
    display: block;
    font-size: 0.56rem;
    color: #73758D;
}

.pos-stat strong {
    font-size: 0.72rem;
    color: #7065F5;
}

.pos-widget {
    background: #FFFFFF;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(112, 101, 245, 0.14);
    width: 118px;
}

.pos-chart-bars {
    height: 55px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 5px;
    margin-bottom: 8px;
}

.pos-chart-bars span {
    flex: 1;
    background: linear-gradient(180deg, #7065F5, #A59DFF);
    border-radius: 3px;
}

.pos-receipt-pill {
    font-size: 0.58rem;
    font-weight: 700;
    background: #ECFDF5;
    color: #059669;
    text-align: center;
    padding: 3px 6px;
    border-radius: 6px;
}

/* Mockup 2: Personal Portfolio */
.portfolio-ui {
    background: linear-gradient(135deg, #16192E 0%, #262B4E 100%);
    color: #FFFFFF;
}

.port-chip {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    color: #A59DFF;
    margin-bottom: 5px;
}

.port-left h4 {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 5px;
}

.port-left p {
    font-size: 0.68rem;
    color: #B4B7D1;
    margin-bottom: 10px;
}

.port-btn-Sample {
    display: inline-block;
    font-size: 0.63rem;
    font-weight: 700;
    background: #7065F5;
    color: #FFFFFF;
    padding: 4px 10px;
    border-radius: 20px;
}

.port-avatar-ring {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: radial-gradient(circle, #7065F5 0%, #2D325A 75%);
    border: 2px solid rgba(165, 157, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.port-code-badge {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    font-size: 1.15rem;
    color: #FFFFFF;
}

/* Mockup 3: Coffee Shop */
.coffee-ui {
    background: linear-gradient(135deg, #3D2516 0%, #6A4127 100%);
    color: #FFF8F0;
}

.coffee-tag {
    display: inline-block;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #F3C69F;
    margin-bottom: 4px;
}

.coffee-left h4 {
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 10px;
}

.coffee-cta {
    display: inline-block;
    font-size: 0.64rem;
    font-weight: 700;
    background: #D97724;
    color: #FFFFFF;
    padding: 4px 11px;
    border-radius: 20px;
}

.coffee-cup-art {
    position: relative;
    width: 76px;
    height: 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.cup-body {
    width: 52px;
    height: 40px;
    background: #FFFDF9;
    border-radius: 4px 4px 24px 24px;
    position: relative;
    box-shadow: inset -6px -4px 0 #E5DEC9;
}

.cup-body::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 7px;
    width: 14px;
    height: 18px;
    border: 3.5px solid #FFFDF9;
    border-radius: 50%;
}

.cup-latte {
    width: 44px;
    height: 8px;
    background: #8C4A27;
    border-radius: 50%;
    margin: 3px auto 0;
}

.cup-saucer {
    width: 68px;
    height: 7px;
    background: #E5DEC9;
    border-radius: 20px;
    margin-top: 2px;
}

.steam {
    width: 3px;
    height: 12px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 10px;
    margin-bottom: 3px;
}

/* Project Card Body */
.project-body {
    padding: 6px 8px 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.project-title {
    font-size: 1.14rem;
    font-weight: 800;
    color: var(--text-dark);
}

.project-ext-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--soft-lavender);
    color: var(--accent-purple);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.project-desc {
    font-size: 0.87rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    flex: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 18px;
}

.tech-tag {
    font-size: 0.74rem;
    font-weight: 600;
    padding: 4px 11px;
    border-radius: var(--radius-pill);
    background: var(--soft-lavender);
    color: var(--accent-purple);
}

.project-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-actions .btn {
    flex: 1;
}

/* ==========================================================================
   8. CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 95px 0 80px;
    background-color: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 44px;
}

.contact-info-wrap {
    display: grid;
    grid-template-columns: 185px 1fr;
    align-items: center;
    gap: 24px;
}

.envelope-svg {
    width: 100%;
    max-width: 190px;
    animation: floatBadge 5s ease-in-out infinite;
}

.contact-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 22px;
}

.contact-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
}

a.contact-chip:hover {
    border-color: var(--accent-purple);
    background: var(--soft-lavender);
    transform: translateY(-2px);
}

.chip-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.email-ic { background: var(--soft-lavender); color: var(--accent-purple); }
.wa-ic { background: rgba(34, 197, 94, 0.14); color: #16A34A; }
.ig-ic { background: rgba(236, 72, 153, 0.14); color: #DB2777; }
.loc-ic { background: var(--soft-blue); color: #2563EB; }

/* Contact Form Card */
.contact-form-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.form-control {
    width: 100%;
    padding: 13px 16px;
    background: var(--input-bg);
    border: 1.5px solid var(--input-border);
    border-radius: 12px;
    color: var(--text-dark);
    font-size: 0.92rem;
    transition: var(--transition-fast);
    resize: vertical;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:focus {
    border-color: var(--accent-purple);
    background: var(--bg-primary);
    box-shadow: 0 0 0 4px rgba(24, 24, 27, 0.09);
}

.form-control.input-error {
    border-color: #EF4444;
    background: rgba(239, 68, 68, 0.03);
}

.error-msg {
    color: #EF4444;
    font-size: 0.76rem;
    margin-top: 5px;
    min-height: 16px;
    display: block;
}

.form-submit-wrap {
    display: flex;
    justify-content: center;
    margin-top: 6px;
}

.btn-submit {
    min-width: 190px;
}

.form-status {
    margin-top: 14px;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 10px;
}

.form-status.success {
    padding: 10px 14px;
    background: rgba(34, 197, 94, 0.12);
    color: #15803D;
    border: 1px solid rgba(34, 197, 94, 0.28);
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.footer {
    position: relative;
    margin-top: 20px;
}

.footer-wave {
    line-height: 0;
    width: 100%;
}

.footer-wave svg {
    width: 100%;
    height: 60px;
}

.footer-body {
    background-color: var(--footer-bg);
    padding: 24px 0 32px;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copy {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.footer-copy strong {
    color: var(--text-dark);
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.back-to-top {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--soft-lavender);
    color: var(--accent-purple);
    border: 1px solid rgba(24, 24, 27, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.back-to-top:hover {
    background: var(--accent-purple);
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: var(--shadow-btn);
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: var(--text-dark);
    color: #FFFFFF;
    padding: 13px 20px;
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(23, 26, 53, 0.25);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    z-index: 2000;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #22C55E;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.76rem;
}

/* ==========================================================================
   10. SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--delay, 0s);
}

.reveal-up { transform: translateY(32px); }
.reveal-left { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* ==========================================================================
   11. RESPONSIVE DESIGN (Desktop, Laptop, Tablet, Smartphone)
   ========================================================================== */

/* Laptop / Small Desktop */
@media (max-width: 1080px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-content-wrap {
        grid-template-columns: 1.2fr 0.8fr;
    }

    .skills-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablet */
@media (max-width: 860px) {
    .hamburger {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 74px;
        left: 20px;
        right: 20px;
        background: var(--card-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid var(--card-border);
        border-radius: 20px;
        padding: 22px;
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: var(--transition-smooth);
    }

    .nav-menu.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        gap: 8px;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 11px 16px;
    }

    .nav-mobile-cta {
        display: flex;
        justify-content: center;
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid var(--card-border);
    }

    .nav-mobile-cta .btn {
        width: 100%;
    }

    .hero-section {
        padding: 118px 0 80px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 42px;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-socials {
        justify-content: center;
    }

    .about-content-wrap {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-info-col {
        border-left: none;
        border-top: 1.5px solid var(--card-border);
        padding-left: 0;
        padding-top: 24px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-info-wrap {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .envelope-svg {
        margin: 0 auto;
    }

    .contact-text .section-tag {
        justify-content: center;
    }

    .contact-chips {
        justify-content: center;
    }
}

/* Smartphone */
@media (max-width: 600px) {
    .container {
        padding: 0 18px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-profession {
        font-size: 1.75rem;
    }

    .floating-code-window {
        width: 175px;
        right: 0;
        top: 6px;
        padding: 9px 10px;
    }

    .window-body {
        font-size: 0.58rem;
    }

    .badge-inner {
        width: 44px;
        height: 44px;
    }

    .about-info-col {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .skill-card {
        padding: 22px 14px;
    }

    .projects-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-card {
        padding: 22px 18px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   12. TAMBAHAN GAYA FOTO PROFIL BERANDA, MODAL CV, SERTIFIKASI & FILTER PROYEK
   ========================================================================== */

.btn-ghost {
    background: var(--soft-lavender);
    color: var(--accent-purple);
    border: 1.5px solid rgba(24, 24, 27, 0.18);
}

.btn-ghost:hover {
    background: var(--accent-purple);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* ==========================================================================
   HERO 3D INTERACTIVE LANYARD ID CARD (ALFARI.MY.ID THREE.JS WEBGL ENGINE)
   ========================================================================== */
.hero-lanyard-stage {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 540px;
    height: 610px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: -60px auto 0;
    user-select: none;
    -webkit-user-select: none;
}

.lanyard {
    touch-action: none;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: visible;
}

.lanyard-canvas {
    cursor: grab;
    outline: none;
    width: 100%;
    height: 100%;
    display: block;
}

.lanyard-canvas:active {
    cursor: grabbing;
}

@media (max-width: 600px) {
    .hero-lanyard-stage {
        height: 520px;
        margin-top: -20px;
        max-width: 100%;
    }
}

/* Sertifikasi Badges di Bagian Tentang Saya */
.cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.cert-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: var(--soft-lavender);
    color: var(--accent-purple);
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid var(--card-border);
}

.about-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

/* Filter Kategori Proyek */
.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: var(--card-bg);
    padding: 6px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-xs);
}

.filter-btn {
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.filter-btn:hover {
    color: var(--accent-purple);
}

.filter-btn.active {
    background: var(--accent-purple);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(112, 101, 245, 0.3);
}

.project-card.hidden-card {
    display: none;
}

/* Real Website Screenshot Frame inside Project Cards */
.real-screenshot-frame {
    height: 220px;
    border: 1px solid rgba(112, 101, 245, 0.16);
    background: #F4F5FA;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.screenshot-viewport {
    position: relative;
    flex: 1;
    width: 100%;
    overflow: hidden;
    background: #FFFFFF;
}

.real-web-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .real-web-img {
    transform: scale(1.06);
}

.pelita-ui {
    background: linear-gradient(135deg, #EEF6FF 0%, #DBEAFE 100%);
    color: #171A35;
}

.blue-ring {
    background: radial-gradient(circle, #3B82F6 0%, #1D4ED8 80%);
}

.donut-ring {
    background: radial-gradient(circle, #F59E0B 0%, #B45309 80%);
}

/* Modal Preview CV */
.cv-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.cv-modal.open {
    opacity: 1;
    visibility: visible;
}

.cv-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 17, 35, 0.72);
    backdrop-filter: blur(8px);
}

.cv-modal-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 760px;
    max-height: 90vh;
    background: var(--bg-primary);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cv-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 22px;
    border-bottom: 1px solid var(--card-border);
    background: var(--bg-secondary);
}

.cv-modal-header h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-dark);
}

.cv-modal-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cv-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--soft-lavender);
    color: var(--text-dark);
    font-size: 1.4rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.cv-modal-close:hover {
    background: #EF4444;
    color: #FFFFFF;
}

.cv-modal-body {
    padding: 18px;
    overflow-y: auto;
    background: #0B1120;
    display: flex;
    justify-content: center;
}

.cv-preview-img {
    width: 100%;
    max-width: 680px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

@media (max-width: 600px) {
    .hero-photo-wrapper {
        height: 360px;
    }

    .hero-photo-backdrop {
        width: 260px;
        height: 295px;
    }

    .hero-profile-img {
        width: 255px;
        max-height: 345px;
    }

    .cv-modal-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   13. APPLE-STYLE SCROLL-ZOOM, WORD SCRUBBING, 3D TILT & SPOTLIGHT ANIMATIONS
   ========================================================================== */

/* Top Scroll Progress Indicator */
.scroll-progress-track {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3.5px;
    background: transparent;
    z-index: 2500;
    pointer-events: none;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--text-dark);
    box-shadow: 0 1px 6px rgba(24, 24, 27, 0.18);
    border-radius: 0 4px 4px 0;
    transition: width 0.06s linear;
}

/* Apple-Style Sticky Scroll-Zoom Section */
/* ==========================================================================
   13. APPLE-STYLE 3D FORWARD ZOOM TUNNEL & NEXT-STAGE SPATIAL CANVAS
   ========================================================================== */
.apple-zoom-section {
    position: relative;
    height: 290vh;
    background: #000000;
}

.apple-sticky-viewport {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    transform-style: preserve-3d;
    background: #000000;
}

/* Deep Space Ambient Light, Warp Grid & Speed Streaks (Pure White Monochrome) */
.apple-deep-space {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.apple-warp-grid {
    position: absolute;
    inset: -20%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(700px) rotateX(68deg);
    transform-origin: center 70%;
    opacity: 0.35;
    will-change: transform, opacity;
}

.apple-spotlight {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 75vw;
    height: 75vw;
    max-width: 900px;
    max-height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 45%, transparent 72%);
    filter: blur(60px);
    transform: translate(-50%, -50%) scale(0.85);
    will-change: transform, opacity;
}

.apple-speed-lines {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 35%, rgba(255, 255, 255, 0.22) 100%);
    opacity: 0;
    will-change: opacity, transform;
}

.apple-stage-container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

/* Layer 1: Giant 3D Zooming Typography Tunnel (Pure White Monochrome) */
.apple-zoom-layer {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 24px;
    will-change: transform, opacity, filter;
    transform-origin: center center;
    transform-style: preserve-3d;
    z-index: 5;
    pointer-events: none;
}

.apple-zoom-tunnel {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1100px;
    width: 100%;
    transform-style: preserve-3d;
}

.apple-eyebrow {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 7px 20px;
    border-radius: var(--radius-pill);
    margin-bottom: 22px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.apple-3d-giant-title {
    font-size: clamp(2.4rem, 6.2vw, 5.6rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: #FFFFFF;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transform-style: preserve-3d;
    text-shadow: 0 4px 30px rgba(255, 255, 255, 0.15);
}

.zoom-title-row {
    display: inline-block;
    will-change: transform;
    transition: transform 0.05s linear;
    color: #FFFFFF;
}

.zoom-title-row.row-mid {
    font-size: 1.25em;
    font-weight: 950;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    background: linear-gradient(180deg, #FFFFFF 30%, #E2E8F0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.4));
}

.apple-zoom-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
    margin-top: 14px;
}

.pulse-optic {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.35);
    animation: livePulseDot 1.8s infinite;
}

.down-chevron {
    color: #FFFFFF;
    font-size: 0.95rem;
    animation: bounceDown 1.8s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* Layer 2: Apple Pro Spatial Studio Showcase (Pure White Monochrome Glass) */
.apple-reveal-layer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    z-index: 4;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity, filter;
    padding: 20px 16px;
}

.apple-reveal-layer.is-active {
    pointer-events: auto;
}

.apple-studio-wrap {
    width: 100%;
    max-width: 1080px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transform-style: preserve-3d;
}

/* Apple Studio Display Cinema Canvas */
.apple-studio-display {
    width: 100%;
    max-width: 860px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transform-style: preserve-3d;
}

.display-bezel {
    width: 100%;
    background: #08080A;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 12px 14px 14px;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

/* Sensor Notch with Camera Lens */
.display-sensor-notch {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 6px;
    border-radius: 0 0 6px 6px;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.camera-lens {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #18181B;
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
}

/* Browser Bar with Tabs */
.display-browser-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 10px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.b-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
}

.browser-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.browser-tabs::-webkit-scrollbar {
    display: none;
}

.browser-tab {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-main);
    font-size: 0.74rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.browser-tab:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.25);
}

.browser-tab.active {
    background: #FFFFFF;
    color: #000000;
    font-weight: 800;
    border-color: #FFFFFF;
    box-shadow: 0 4px 18px rgba(255, 255, 255, 0.35);
}

.browser-url-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    flex-shrink: 0;
}

/* Screen Viewport with Glossy Glare */
.display-screen-viewport {
    position: relative;
    height: 380px;
    border-radius: 14px;
    overflow: hidden;
    background: #020617;
    margin-top: 10px;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.display-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.display-screen-viewport:hover .display-screen-img {
    transform: scale(1.035);
}

.display-glare-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%, rgba(255, 255, 255, 0.04) 100%);
    pointer-events: none;
    z-index: 2;
}

/* HUD Meta Bar on Screen */
.display-hud-meta {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 10px 16px;
    border-radius: 12px;
    background: rgba(10, 10, 12, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    z-index: 3;
}

.hud-info h4 {
    font-size: 0.92rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 2px;
}

.hud-info p {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.hud-action-pill {
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: #FFFFFF;
    color: #000000;
    font-size: 0.72rem;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.35);
    white-space: nowrap;
}

/* Metal Stand for Apple Studio Display */
.display-stand {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top: -2px;
    z-index: -1;
}

.stand-pillar {
    width: 68px;
    height: 48px;
    background: linear-gradient(180deg, #27272A 0%, #141416 100%);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);
}

.stand-base {
    width: 170px;
    height: 8px;
    background: linear-gradient(90deg, #18181B 0%, #2E2E33 50%, #18181B 100%);
    border-radius: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}

/* Floating Apple VisionOS Glass Bento Wings (Pure Monochrome Glass) */
.studio-bento-wings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    max-width: 860px;
    transform-style: preserve-3d;
}

.studio-bento-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 20px 22px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    position: relative;
    will-change: transform;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.studio-bento-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 255, 255, 0.12);
}

.bento-icon-pill {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.studio-bento-card h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 6px;
}

.studio-bento-card p {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.55;
    margin: 0 0 12px;
}

.bento-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.7rem;
    font-weight: 700;
}

/* Apple Word-by-Word Scrubbing Manifesto (Pure White Monochrome) */
.studio-manifesto-strip {
    max-width: 820px;
    text-align: center;
    margin-top: 6px;
}

.apple-scrub-text {
    font-size: clamp(1.15rem, 2.3vw, 1.7rem);
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin: 0;
}

.scrub-word {
    display: inline-block;
    opacity: 0.22;
    color: #FFFFFF;
    transform: translateY(3px) scale(0.96);
    filter: blur(1.5px);
    transition: opacity 0.18s ease, transform 0.22s ease, filter 0.22s ease, text-shadow 0.22s ease;
    margin-right: 0.2em;
}

.scrub-word.lit {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    color: #FFFFFF;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.scrub-word.lit-accent {
    color: #FFFFFF;
    font-weight: 900;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.95);
}

/* Scroll-Zoom Typography Effect on All Section Headings */
.scroll-zoom-heading {
    will-change: transform, opacity, filter;
    transform-origin: center bottom;
    transition: transform 0.08s linear, opacity 0.08s linear, filter 0.08s linear;
}

/* Apple 3D Card Tilt & Cursor Spotlight Glow */
.skill-card,
.project-card {
    --mouse-x: 50%;
    --mouse-y: 50%;
    transform-style: preserve-3d;
    will-change: transform;
}

.skill-card::after,
.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        380px circle at var(--mouse-x) var(--mouse-y),
        rgba(24, 24, 27, 0.06),
        transparent 65%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.skill-card:hover::after,
.project-card:hover::after {
    opacity: 1;
}

.project-card > * {
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .apple-zoom-section {
        height: 260vh;
    }

    .display-screen-viewport {
        height: 290px;
    }

    .studio-bento-wings {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 600px) {
    .apple-zoom-section {
        height: 245vh;
    }

    .apple-3d-giant-title {
        font-size: 2.1rem;
    }

    .display-screen-viewport {
        height: 220px;
    }

    .display-hud-meta {
        padding: 8px 12px;
    }

    .hud-info h4 {
        font-size: 0.8rem;
    }

    .hud-info p {
        font-size: 0.65rem;
    }

    .hud-action-pill {
        padding: 4px 10px;
        font-size: 0.66rem;
    }

    .stand-pillar {
        height: 32px;
        width: 50px;
    }

    .stand-base {
        width: 130px;
    }
}

/* ==========================================================================
   14. DUA KOTAK FOLDER KECIL TERPISAH: PROYEK (8) & SERTIFIKAT (4)
   ========================================================================== */
.dual-folder-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 500px));
    justify-content: center;
    align-items: start;
    gap: 36px;
    margin-top: 12px;
}

.compact-folder-unit {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.compact-folder-stage {
    width: 100%;
    position: relative;
}

/* Tab Telinga Folder Kecil */
.cf-tab-ear {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 22px 0 18px;
    background: linear-gradient(135deg, #7065F5 0%, #584CE8 100%);
    color: #FFFFFF;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 16px 20px 0 0;
    box-shadow: 0 -4px 14px rgba(112, 101, 245, 0.22);
    position: relative;
    z-index: 4;
}

.cf-tab-ear::after {
    content: "";
    position: absolute;
    right: -14px;
    bottom: 0;
    width: 16px;
    height: 16px;
    background: radial-gradient(circle at top right, transparent 70%, #584CE8 72%);
}

.cert-folder-theme .cf-tab-ear {
    background: linear-gradient(135deg, #5B6CF9 0%, #7065F5 100%);
}

/* Kantong Utama Kotak Folder Kecil — Tinggi Sama Persis (Sejajar) Saat Tertutup */
.cf-pocket-box {
    position: relative;
    width: 100%;
    height: 306px;
    background: linear-gradient(180deg, rgba(238, 234, 254, 0.85) 0%, rgba(220, 232, 255, 0.68) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 2px solid rgba(112, 101, 245, 0.28);
    border-radius: 0 24px 24px 24px;
    padding: 22px 20px 64px;
    box-shadow: 0 20px 48px rgba(23, 26, 53, 0.1),
                inset 0 2px 0 rgba(255, 255, 255, 0.88);
    overflow: hidden;
    transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

body.dark-mode .cf-pocket-box {
    background: linear-gradient(180deg, rgba(30, 34, 68, 0.92) 0%, rgba(19, 22, 43, 0.95) 100%);
    border-color: rgba(112, 101, 245, 0.38);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}

.compact-folder-unit.is-open .cf-pocket-box {
    height: auto;
    padding: 20px;
    border-color: var(--accent-purple);
    box-shadow: 0 28px 65px rgba(112, 101, 245, 0.22);
}

/* Tumpukan Kartu di Dalam Folder Saat Belum Disentuh */
.cf-closed-stack {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 212px;
    margin: 4px auto 0;
    transition: opacity 0.28s ease, transform 0.32s ease;
}

.compact-folder-unit.is-open .cf-closed-stack {
    display: none;
}

/* Lembaran Kartu yang Mengintip di Belakang Cover */
.cf-stack-sheet {
    position: absolute;
    left: 10px;
    right: 10px;
    top: 0;
    height: 170px;
    border-radius: 14px;
    background: var(--card-bg);
    border: 1.5px solid var(--card-border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.cf-stack-sheet img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
}

.cf-stack-sheet.sheet-2 {
    transform: translateY(-10px) translateX(-10px) rotate(-3.5deg) scale(0.95);
    z-index: 1;
}

.cf-stack-sheet.sheet-3 {
    transform: translateY(-18px) translateX(12px) rotate(4deg) scale(0.9);
    z-index: 0;
}

.cf-stack-sheet.cert-sheet {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F8FF 100%);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8px;
}

body.dark-mode .cf-stack-sheet.cert-sheet {
    background: linear-gradient(135deg, #1E2246 0%, #151834 100%);
}

.sheet-cert-bar {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--accent-purple);
    background: var(--soft-lavender);
    padding: 2px 10px;
    border-radius: var(--radius-pill);
}

/* Kartu Cover Utama Paling Depan (Tinggi Sama Persis 212px di Kedua Folder) */
.cf-cover-card {
    position: relative;
    z-index: 3;
    height: 212px;
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border: 1.5px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(23, 26, 53, 0.16);
}

.cf-mini-browser-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    background: #171A35;
    color: #CBD5E1;
    font-size: 0.65rem;
    font-family: var(--font-mono);
    flex-shrink: 0;
}

.cf-mini-browser-bar .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.cf-mini-browser-bar .dot.r { background: #FF5F56; }
.cf-mini-browser-bar .dot.y { background: #FFBD2E; }
.cf-mini-browser-bar .dot.g { background: #27C93F; }
.cf-mini-browser-bar .url {
    margin-left: 4px;
    opacity: 0.85;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cf-cover-img-wrap {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    background: #0F172A;
}

.cf-cover-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.cf-cover-caption {
    padding: 8px 14px 10px;
    flex-shrink: 0;
}

.cf-cover-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent-purple);
    background: var(--soft-lavender);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    margin-bottom: 3px;
}

.cf-cover-caption h4 {
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Cover Kartu Sertifikat Saat Folder Tertutup (Sama Persis 212px) */
.cert-cover-card {
    padding: 16px;
    height: 212px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(145deg, var(--card-bg) 0%, var(--soft-lavender) 100%);
}

.cert-cover-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.cert-cover-ribbon {
    font-size: 0.66rem;
    font-weight: 800;
    color: var(--accent-purple);
    letter-spacing: 0.04em;
}

.cert-cover-check {
    font-size: 0.65rem;
    font-weight: 700;
    color: #059669;
    background: rgba(16, 185, 129, 0.14);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
}

.cert-cover-center {
    text-align: center;
    padding: 8px 4px 6px;
}

.cert-seal-circle {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    margin: 0 auto 10px;
    background: var(--gradient-primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-btn);
}

.cert-cover-center h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.cert-cover-center p {
    font-size: 0.74rem;
    color: var(--text-secondary);
}

/* Lipatan Kantong Depan Folder Kecil */
.cf-front-flap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 58px;
    z-index: 10;
    background: linear-gradient(135deg, rgba(112, 101, 245, 0.96) 0%, rgba(88, 76, 232, 0.96) 100%);
    border-top: 1.5px solid rgba(255, 255, 255, 0.45);
    border-radius: 18px 18px 22px 22px;
    box-shadow: 0 -10px 25px rgba(23, 26, 53, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    color: #FFFFFF;
    transform-origin: bottom center;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.35s ease;
    pointer-events: none;
}

.cf-flap-shine {
    position: absolute;
    top: 6px;
    left: 22px;
    right: 22px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
}

.cf-flap-hint {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.compact-folder-unit.is-open .cf-front-flap {
    transform: perspective(700px) rotateX(-68deg) translateY(24px);
    opacity: 0;
}

/* ==========================================================================
   ANIMASI TAMPILAN KECIL PROYEK & SERTIFIKAT SAAT FOLDER TERBUKA (.is-open)
   ========================================================================== */
.cf-fanout-grid {
    display: none;
}

.compact-folder-unit.is-open .cf-fanout-grid {
    display: grid;
}

.projects-mini-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.certs-mini-grid {
    grid-template-columns: 1fr;
    gap: 12px;
}

@keyframes miniPopOut {
    0% {
        opacity: 0;
        transform: translate3d(0, 34px, 0) scale(0.76) rotate(-2deg);
    }
    70% {
        opacity: 1;
        transform: translate3d(0, -3px, 0) scale(1.02) rotate(0deg);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    }
}

/* Tampilan Kecil Proyek (Mini Project Card) */
.mini-item-card {
    background: var(--card-bg);
    border: 1.5px solid var(--card-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
    animation: miniPopOut 0.52s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--i, 0) * 0.055s);
}

.mini-item-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-md);
}

.mini-thumb-link {
    display: block;
    background: #0F172A;
}

.mini-b-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 8px;
    background: #171A35;
    color: #CBD5E1;
    font-size: 0.58rem;
    font-family: var(--font-mono);
}

.mini-b-bar .d {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mini-b-bar .d.r { background: #FF5F56; }
.mini-b-bar .d.y { background: #FFBD2E; }
.mini-b-bar .d.g { background: #27C93F; }

.mini-b-bar span:last-child {
    margin-left: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-thumb-link img {
    width: 100%;
    height: 106px;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.4s ease;
}

.mini-item-card:hover .mini-thumb-link img {
    transform: scale(1.04);
}

.mini-card-info {
    padding: 10px 12px 12px;
}

.mini-card-info h5 {
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 2px;
    line-height: 1.25;
}

.mini-card-info p {
    font-size: 0.68rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.mini-card-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mini-btn-live {
    flex: 1;
    text-align: center;
    padding: 5px 8px;
    border-radius: 8px;
    background: var(--gradient-primary);
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 700;
    transition: opacity 0.2s ease;
}

.mini-btn-live:hover {
    opacity: 0.92;
}

.mini-btn-zoom {
    padding: 5px 9px;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    background: var(--bg-secondary);
    color: var(--text-dark);
    font-size: 0.68rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}

.mini-btn-zoom:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
}

/* Tampilan Kecil Sertifikat (Mini Certificate Card) */
.mini-cert-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--card-bg);
    border: 1.5px solid var(--card-border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.28s ease, border-color 0.28s ease;
    animation: miniPopOut 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--i, 0) * 0.07s);
}

.mini-cert-card:hover {
    transform: translateX(4px);
    border-color: var(--accent-purple);
}

.mini-cert-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--soft-lavender);
    color: var(--accent-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mini-cert-icon.google {
    background: rgba(59, 130, 246, 0.14);
    color: #2563EB;
}

.mini-cert-icon.aws {
    background: rgba(245, 158, 11, 0.15);
    color: #D97706;
}

.mini-cert-icon.ml {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

.mini-cert-body {
    flex: 1;
}

.mini-cert-tag {
    display: inline-block;
    font-size: 0.64rem;
    font-weight: 700;
    color: var(--accent-purple);
    background: rgba(112, 101, 245, 0.1);
    padding: 1px 7px;
    border-radius: var(--radius-pill);
    margin-bottom: 3px;
}

.mini-cert-body h5 {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 2px;
}

.mini-cert-body p {
    font-size: 0.72rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.mini-cert-cv-btn {
    width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1.5px solid rgba(112, 101, 245, 0.35);
    background: var(--soft-lavender);
    color: var(--accent-purple);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: 2px;
}

.mini-cert-cv-btn:hover {
    background: var(--accent-purple);
    color: #FFFFFF;
}

/* ==========================================================================
   KETERANGAN JUMLAH PROYEK / SERTIFIKAT DI BAWAH MASING-MASING KOTAK
   ========================================================================== */
.folder-bottom-meta {
    margin-top: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.folder-meta-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.folder-meta-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px;
    border-radius: var(--radius-pill);
    background: var(--soft-lavender);
    border: 1px solid rgba(112, 101, 245, 0.24);
    color: var(--accent-purple);
    font-size: 0.84rem;
    font-weight: 700;
}

.meta-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-purple);
}

@media (max-width: 840px) {
    .dual-folder-showcase {
        grid-template-columns: minmax(280px, 500px);
        gap: 32px;
    }
}

@media (max-width: 580px) {
    .projects-mini-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   15. ANIMASI LANGKA & MENCOLOK: FOTO CYBER-HOLOGRAM X-RAY SCANNER & SCROLL 3D MORPH
   ========================================================================== */

/* A. FOTO PROFIL DAYAT: DUAL-VISION X-RAY SCANNER & HOLOGRAM MORPH */
#heroPhotoPortal {
    position: relative;
    cursor: pointer;
    user-select: none;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.45s ease;
}

/* Cincin Cyber HUD Berputar di Belakang Kepala */
.hero-hud-ring {
    position: absolute;
    top: 18px;
    left: 50%;
    width: 290px;
    height: 290px;
    margin-left: -145px;
    border-radius: 50%;
    border: 2px dashed rgba(112, 101, 245, 0.42);
    box-shadow: 0 0 35px rgba(112, 101, 245, 0.2),
                inset 0 0 25px rgba(79, 139, 255, 0.15);
    z-index: 1;
    pointer-events: none;
    animation: hudRingSpin 16s linear infinite;
}

.hero-hud-ring::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    border: 1.5px solid rgba(79, 139, 255, 0.3);
    border-top-color: #7065F5;
    border-bottom-color: #00E5FF;
    animation: hudRingSpinReverse 9s linear infinite;
}

@keyframes hudRingSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes hudRingSpinReverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

/* Layer 2: Cyber-Hologram / X-Ray Developer Blueprint di Atas Foto Asli */
.holo-xray-mask {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    border-radius: inherit;
    overflow: hidden;
    clip-path: inset(0% 0% 65% 0%);
    animation: xrayClipScan 4.4s ease-in-out infinite alternate;
}

.holo-xray-mask .holo-layer {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: contrast(1.35) brightness(1.12) saturate(1.9) hue-rotate(195deg)
            drop-shadow(0 0 14px rgba(0, 229, 255, 0.75));
    mix-blend-mode: normal;
}

.holo-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 229, 255, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(112, 101, 245, 0.18) 1px, transparent 1px);
    background-size: 16px 16px;
    mix-blend-mode: screen;
    pointer-events: none;
}

.holo-hud-tag {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 12px;
    border-radius: var(--radius-pill);
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid #00E5FF;
    color: #00E5FF;
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    white-space: nowrap;
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.45);
}

/* Garis Sinar Pemindai Laser (Laser Scanner Beam) */
.holo-scanner-beam {
    position: absolute;
    left: -4%;
    right: -4%;
    top: 35%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #00E5FF 20%, #FFFFFF 50%, #7065F5 80%, transparent 100%);
    box-shadow: 0 0 18px 4px rgba(0, 229, 255, 0.85),
                0 0 34px 8px rgba(112, 101, 245, 0.65);
    z-index: 6;
    pointer-events: none;
    animation: xrayBeamScan 4.4s ease-in-out infinite alternate;
}

.scanner-label {
    position: absolute;
    right: 14px;
    top: -20px;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    font-weight: 700;
    color: #00E5FF;
    background: rgba(15, 23, 42, 0.85);
    padding: 1px 7px;
    border-radius: 4px;
    letter-spacing: 0.08em;
}

@keyframes xrayClipScan {
    0% { clip-path: inset(0% 0% 88% 0%); }
    50% { clip-path: inset(18% 0% 22% 0%); }
    100% { clip-path: inset(72% 0% 0% 0%); }
}

@keyframes xrayBeamScan {
    0% { top: 12%; }
    50% { top: 52%; }
    100% { top: 86%; }
}

/* Mode 2: Full Cyber-Hologram Matrix (Saat diklik / di-scroll) */
#heroPhotoPortal[data-vision="hologram"] .holo-xray-mask {
    animation: none;
    clip-path: inset(0% 0% 0% 0%) !important;
}

#heroPhotoPortal[data-vision="hologram"] .holo-scanner-beam {
    opacity: 0.35;
}

/* Mode 3: Neon Glitch / Cyberpunk Aura */
#heroPhotoPortal[data-vision="neon"] .holo-xray-mask {
    animation: none;
    clip-path: inset(0% 0% 0% 0%) !important;
}

#heroPhotoPortal[data-vision="neon"] .holo-layer {
    filter: contrast(1.4) brightness(1.1) saturate(2.4) hue-rotate(285deg)
            drop-shadow(-4px 0 0 rgba(255, 0, 128, 0.8))
            drop-shadow(4px 0 0 rgba(0, 229, 255, 0.8));
}

#heroPhotoPortal[data-vision="neon"] .holo-scanner-beam {
    display: none;
}

/* Mode 4: Foto Asli Studio Bersih */
#heroPhotoPortal[data-vision="studio"] .holo-xray-mask,
#heroPhotoPortal[data-vision="studio"] .holo-scanner-beam {
    display: none;
}

/* Tombol Ganti Mode Foto di Bawah Foto */
.photo-mode-pill {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 12;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(23, 26, 53, 0.86);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 229, 255, 0.55);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.35);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    white-space: nowrap;
}

.photo-mode-pill:hover {
    transform: translateX(-50%) scale(1.06);
    background: var(--accent-purple);
    border-color: #FFFFFF;
}

.pm-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00E5FF;
    box-shadow: 0 0 8px #00E5FF;
}

/* Transformasi 3D perspektif pada Laptop About & Kartu Skill saat di-scroll */
.laptop-stage {
    perspective: 1100px;
}

.laptop-svg {
    transform-origin: center bottom;
    will-change: transform;
}

/* B. ANIMASI HERO SECTION: SOFT MONOCHROME SHIMMER & CLEAN ACCENTS */
.gradient-text {
    background: linear-gradient(90deg, #18181B 0%, #52525B 45%, #18181B 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: liquidGradientFlow 4.5s linear infinite;
}

[data-theme="dark"] .gradient-text {
    background: linear-gradient(90deg, #FAFAFA 0%, #A1A1AA 45%, #FAFAFA 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes liquidGradientFlow {
    0% { background-position: 0% center; }
    100% { background-position: 220% center; }
}

/* Kilatan Cahaya Diagonal pada Tombol Utama */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -75%;
    width: 45%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: rotate(25deg);
    animation: btnLightSweep 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes btnLightSweep {
    0%, 55% { left: -75%; }
    100% { left: 145%; }
}

/* Garis Orbit Soft Mengelilingi Foto Profil */
.hero-orbit-svg path {
    stroke-dasharray: 18 10;
    animation: orbitLaserFlow 6s linear infinite;
    filter: none;
}

.hero-orbit-svg circle {
    animation: orbitNodePulse 2.2s ease-in-out infinite alternate;
}

@keyframes orbitLaserFlow {
    0% { stroke-dashoffset: 220; }
    100% { stroke-dashoffset: 0; }
}

@keyframes orbitNodePulse {
    0% { transform: scale(0.85); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.9; }
}

/* Efek Scanline & Baris Kode Menyala di Code Editor Hero */
.floating-code-window {
    overflow: hidden;
}

.floating-code-window::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -40%;
    height: 36%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    animation: codeWindowScan 3.8s linear infinite;
    pointer-events: none;
}

@keyframes codeWindowScan {
    0% { top: -40%; }
    100% { top: 120%; }
}

.floating-code-window .code-line {
    animation: codeLineGlow 3s ease-in-out infinite alternate;
}

.floating-code-window .code-line:nth-child(2) { animation-delay: 0.4s; }
.floating-code-window .code-line:nth-child(3) { animation-delay: 0.8s; }
.floating-code-window .code-line:nth-child(4) { animation-delay: 1.2s; }
.floating-code-window .code-line:nth-child(5) { animation-delay: 1.6s; }

@keyframes codeLineGlow {
    0% { opacity: 0.65; transform: translateX(0); }
    100% { opacity: 1; transform: translateX(3px); }
}

/* C. ANIMASI ABOUT SECTION: LIVE TYPING DI LAYAR LAPTOP 3D & KARTU BIODATA SOFT */
.laptop-svg {
    animation: laptop3DFloat 5s ease-in-out infinite;
    filter: drop-shadow(0 20px 34px rgba(24, 24, 27, 0.1));
}

@keyframes laptop3DFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(-1.2deg); }
}

.laptop-svg g rect {
    transform-origin: left center;
    animation: laptopCodeType 2.8s ease-in-out infinite alternate;
}

.laptop-svg g rect:nth-child(odd) {
    animation-duration: 2.2s;
}

.laptop-svg g rect:nth-child(3n) {
    animation-delay: 0.7s;
}

@keyframes laptopCodeType {
    0% { opacity: 0.45; }
    100% { opacity: 1; }
}

.info-item {
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.info-item:hover::before {
    transform: scaleY(1);
}

.info-item:hover .info-icon {
    transform: scale(1.12) rotate(-6deg);
    background: var(--accent-purple);
    color: var(--bg-primary);
    box-shadow: 0 8px 20px rgba(24, 24, 27, 0.15);
}

.info-icon {
    transition: var(--transition-bounce);
}

/* D. ANIMASI SKILLS SECTION: BAR PERSENTASE SOFT MONOCHROME & IKON 3D */
.skill-card {
    display: flex;
    flex-direction: column;
}

.skill-desc {
    flex: 1;
}

.skill-meter-wrap {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px dashed rgba(24, 24, 27, 0.12);
}

.skill-meter-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.skill-pct-num {
    color: var(--text-dark);
    font-family: var(--font-mono);
    font-weight: 800;
}

.skill-meter-bar {
    width: 100%;
    height: 7px;
    border-radius: var(--radius-pill);
    background: var(--soft-lavender);
    overflow: hidden;
    position: relative;
}

.skill-meter-fill {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, #18181B 0%, #52525B 50%, #18181B 100%);
    background-size: 200% 100%;
    box-shadow: none;
    transition: width 1.35s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}

[data-theme="dark"] .skill-meter-fill {
    background: linear-gradient(90deg, #FAFAFA 0%, #A1A1AA 50%, #FAFAFA 100%);
}

.skill-card.revealed .skill-meter-fill {
    width: var(--skill-pct, 90%);
}

.skill-card:hover .skill-icon-box {
    transform: translateY(-6px) scale(1.12) rotate(6deg);
    box-shadow: 0 12px 24px rgba(24, 24, 27, 0.1);
}

/* E. ANIMASI KOTAK FOLDER PROYEK & SERTIFIKAT: KILAU KACA & LEVITASI HALUS */
.cf-pocket-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: -110%;
    width: 65%;
    height: 100%;
    background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.45) 50%, transparent 80%);
    z-index: 6;
    pointer-events: none;
    animation: folderGlassShine 5.5s ease-in-out infinite;
}

body.dark-mode .cf-pocket-box::before {
    background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.1) 50%, transparent 80%);
}

#certFolderUnit .cf-pocket-box::before {
    animation-delay: 2.2s;
}

@keyframes folderGlassShine {
    0%, 55% { left: -110%; }
    100% { left: 140%; }
}

.compact-folder-unit:not(.is-open):hover .compact-folder-stage {
    transform: translateY(-6px);
}

.compact-folder-stage {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.folder-meta-count {
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(112, 101, 245, 0.15);
    transition: var(--transition-smooth);
}

.compact-folder-unit.is-open .folder-meta-count,
.compact-folder-unit:hover .folder-meta-count {
    background: var(--gradient-primary);
    color: #FFFFFF;
    transform: scale(1.06);
    box-shadow: 0 10px 24px rgba(112, 101, 245, 0.32);
}

.compact-folder-unit.is-open .meta-dot,
.compact-folder-unit:hover .meta-dot {
    background: #FFFFFF;
}

/* F. ANIMASI CONTACT CHIP & GELOMBANG AIR */
.contact-chip {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}

.contact-chip:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 24px rgba(24, 24, 27, 0.12);
}

.btn-submit svg {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-submit:hover svg {
    transform: translateX(6px) translateY(-2px) scale(1.15);
}

/* Gelombang Air Bergerak Halus di Hero & Footer */
.hero-wave svg path,
.footer-wave svg path {
    animation: waveUndulate 7s ease-in-out infinite alternate;
    transform-origin: center bottom;
}

@keyframes waveUndulate {
    0% { transform: scaleY(1) scaleX(1); }
    100% { transform: scaleY(1.12) scaleX(1.02); }
}

/* ==========================================================================
   DOKUMENTASI KEGIATAN — VECTOR SVG ZOOM KE HURUF "I" -> PUTIH SEMUA -> REVEAL
   ========================================================================== */
.doc-portal-section {
    position: relative;
    width: 100%;
    background: #FFFFFF;
}

.doc-zoom-runway {
    position: relative;
    width: 100%;
    height: 260vh;
    background: #FFFFFF;
}

.doc-zoom-sticky {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #060812;
    z-index: 15;
    pointer-events: none;
}

.doc-zoom-sticky.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    bottom: auto;
    width: 100vw;
    height: 100vh;
}

.doc-zoom-sticky.is-bottom {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}

.doc-zoom-ambient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(112, 101, 245, 0.26) 0%, rgba(56, 189, 248, 0.09) 38%, rgba(6, 8, 18, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.doc-zoom-stage {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.doc-zoom-svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
    shape-rendering: geometricPrecision;
    text-rendering: geometricPrecision;
}

.doc-svg-word {
    font-family: var(--font-main);
    font-size: 164px;
    font-weight: 900;
    letter-spacing: -2px;
    fill: #FFFFFF;
    text-transform: uppercase;
    user-select: none;
    text-rendering: geometricPrecision;
    shape-rendering: geometricPrecision;
}

.doc-white-flood {
    position: absolute;
    inset: 0;
    background: #FFFFFF;
    opacity: 0;
    pointer-events: none;
    z-index: 5;
    will-change: opacity;
}

.doc-gallery-reveal-wrap {
    position: relative;
    z-index: 20;
    margin-top: -100vh;
    padding: 96px 0 110px;
    background: #FFFFFF;
    opacity: 0;
    transform: translate3d(0, 56px, 0) scale(0.96);
    will-change: transform, opacity;
    pointer-events: none;
}

.doc-gallery-reveal-wrap.is-revealed {
    pointer-events: auto;
}

/* Mode Kipas 3D Arc pada Dokumentasi Kegiatan */
.activity-collage-board.is-fan3d-mode {
    grid-template-columns: repeat(5, 1fr);
    gap: 18px 14px;
    padding: 36px 4px 48px;
}

.activity-collage-board.is-fan3d-mode .activity-polaroid {
    grid-column: span 1 !important;
}

.activity-collage-board.is-fan3d-mode .polaroid-img-box {
    height: 210px !important;
}

@media (max-width: 992px) {
    .activity-collage-board.is-fan3d-mode {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .activity-collage-board.is-fan3d-mode {
        grid-template-columns: 1fr;
    }
}

/* Papan Kolase Acak Artistik (12-Column Asymmetric Board) */
.activity-collage-board {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 28px 24px;
    align-items: start;
    padding: 18px 8px 34px;
    position: relative;
}

/* Kartu Polaroid Dokumentasi */
.activity-polaroid {
    position: relative;
    margin: 0;
    background: var(--card-bg);
    border: 1.5px solid var(--card-border);
    border-radius: 22px;
    padding: 12px 12px 18px;
    box-shadow: 0 20px 44px rgba(23, 26, 53, 0.11),
                0 4px 12px rgba(23, 26, 53, 0.05);
    cursor: pointer;
    transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.42s ease,
                border-color 0.35s ease;
    will-change: transform;
}

body.dark-mode .activity-polaroid {
    background: rgba(24, 28, 56, 0.94);
    border-color: rgba(112, 101, 245, 0.28);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.45);
}

/* Posisi & Kemiringan Acak yang Seimbang Secara Visual */
.activity-polaroid.card-pos-1 {
    grid-column: span 7;
    transform: rotate(-2.1deg) translateY(14px);
    z-index: 2;
}

.activity-polaroid.card-pos-2 {
    grid-column: span 5;
    transform: rotate(2.3deg) translateY(-10px);
    z-index: 3;
}

.activity-polaroid.card-pos-3 {
    grid-column: span 4;
    transform: rotate(1.85deg) translateY(-14px);
    z-index: 2;
}

.activity-polaroid.card-pos-4 {
    grid-column: span 4;
    transform: rotate(-2.4deg) translateY(22px);
    z-index: 4;
}

.activity-polaroid.card-pos-5 {
    grid-column: span 4;
    transform: rotate(1.65deg) translateY(-6px);
    z-index: 2;
}

.activity-polaroid.card-pos-6 {
    grid-column: span 5;
    transform: rotate(-2.15deg) translateY(-8px);
    z-index: 3;
}

.activity-polaroid.card-pos-7 {
    grid-column: span 7;
    transform: rotate(1.95deg) translateY(16px);
    z-index: 2;
}

.activity-polaroid.card-pos-8 {
    grid-column: span 4;
    transform: rotate(2.1deg) translateY(10px);
    z-index: 3;
}

.activity-polaroid.card-pos-9 {
    grid-column: span 4;
    transform: rotate(-1.95deg) translateY(-16px);
    z-index: 4;
}

.activity-polaroid.card-pos-10 {
    grid-column: span 4;
    transform: rotate(1.75deg) translateY(12px);
    z-index: 2;
}

/* Saat Disentuh / Hover: Kartu Tegak Lurus, Naik ke Depan, Efek Kilat Kamera & Sorotan */
.activity-collage-board.has-focused-card .activity-polaroid:not(.is-focused-polaroid) {
    opacity: 0.56 !important;
    filter: saturate(0.75);
}

.activity-polaroid:hover,
.activity-polaroid.is-focused-polaroid {
    transform: perspective(1050px) rotate(0deg) translateY(-10px) scale(1.04) !important;
    opacity: 1 !important;
    filter: none !important;
    z-index: 20 !important;
    border-color: var(--accent-purple);
    box-shadow: 0 32px 68px rgba(112, 101, 245, 0.28),
                0 12px 26px rgba(23, 26, 53, 0.14);
}

.activity-polaroid:hover .polaroid-tape,
.activity-polaroid.is-focused-polaroid .polaroid-tape {
    transform: translateX(-50%) rotate(0deg) scale(1.08);
    box-shadow: 0 6px 16px rgba(112, 101, 245, 0.25);
}

/* Efek Kilatan Lensa Kamera (Camera Shutter Flash Sweep) Saat Disentuh / Hover */
.polaroid-img-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        transparent 20%,
        rgba(255, 255, 255, 0.55) 48%,
        rgba(112, 101, 245, 0.25) 54%,
        transparent 78%
    );
    transform: translateX(-140%) skewX(-18deg);
    transition: transform 0.68s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    z-index: 3;
}

.activity-polaroid:hover .polaroid-img-box::after,
.activity-polaroid.is-focused-polaroid .polaroid-img-box::after {
    transform: translateX(140%) skewX(-18deg);
}

/* Selotip Washi Dekoratif di Atas Tiap Foto Kolase */
.polaroid-tape {
    position: absolute;
    top: -11px;
    left: 50%;
    width: 88px;
    height: 24px;
    border-radius: 6px;
    transform: translateX(-50%) rotate(-3deg);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    z-index: 5;
    pointer-events: none;
}

.polaroid-tape.tape-purple {
    background: rgba(112, 101, 245, 0.32);
    border: 1px solid rgba(112, 101, 245, 0.42);
    transform: translateX(-50%) rotate(-3.5deg);
}

.polaroid-tape.tape-amber {
    background: rgba(245, 158, 11, 0.34);
    border: 1px solid rgba(245, 158, 11, 0.45);
    transform: translateX(-50%) rotate(4deg);
}

.polaroid-tape.tape-cyan {
    background: rgba(14, 165, 233, 0.32);
    border: 1px solid rgba(14, 165, 233, 0.44);
    transform: translateX(-50%) rotate(-2.5deg);
}

.polaroid-tape.tape-rose {
    background: rgba(244, 63, 94, 0.3);
    border: 1px solid rgba(244, 63, 94, 0.42);
    transform: translateX(-50%) rotate(3.2deg);
}

.polaroid-tape.tape-emerald {
    background: rgba(16, 185, 129, 0.32);
    border: 1px solid rgba(16, 185, 129, 0.44);
    transform: translateX(-50%) rotate(-3deg);
}

/* Bingkai Dalam Gambar Dokumentasi */
.polaroid-img-box {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    background: #0F172A;
}

.card-pos-1 .polaroid-img-box,
.card-pos-2 .polaroid-img-box,
.card-pos-6 .polaroid-img-box,
.card-pos-7 .polaroid-img-box {
    height: 310px;
}

.card-pos-3 .polaroid-img-box,
.card-pos-4 .polaroid-img-box,
.card-pos-5 .polaroid-img-box,
.card-pos-8 .polaroid-img-box,
.card-pos-9 .polaroid-img-box,
.card-pos-10 .polaroid-img-box {
    height: 245px;
}

.polaroid-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.activity-polaroid:hover .polaroid-img-box img {
    transform: scale(1.06);
}

/* Badge Label & Tombol Perbesar di Sudut Foto */
.polaroid-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: rgba(15, 23, 42, 0.76);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.polaroid-zoom-pill {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: var(--gradient-primary);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(112, 101, 245, 0.38);
    opacity: 0.92;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.activity-polaroid:hover .polaroid-zoom-pill {
    opacity: 1;
    transform: scale(1.06);
}

/* Caption Bawah Kartu Polaroid */
.polaroid-caption {
    padding: 14px 6px 2px;
}

.polaroid-meta {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-purple);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.polaroid-caption h4 {
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.4;
}

/* Responsif Tablet & Mobile: Tetap Acak Estetik & Nyaman Dilihat */
@media (max-width: 992px) {
    .activity-collage-board {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 20px;
    }

    .activity-polaroid.card-pos-1 {
        grid-column: span 2;
        transform: rotate(-1.4deg) translateY(0);
    }

    .activity-polaroid.card-pos-2 {
        grid-column: span 1;
        transform: rotate(1.8deg) translateY(6px);
    }

    .activity-polaroid.card-pos-3 {
        grid-column: span 1;
        transform: rotate(-1.6deg) translateY(-6px);
    }

    .activity-polaroid.card-pos-4 {
        grid-column: span 1;
        transform: rotate(1.5deg) translateY(8px);
    }

    .activity-polaroid.card-pos-5 {
        grid-column: span 1;
        transform: rotate(-1.7deg) translateY(-4px);
    }

    .activity-polaroid.card-pos-6 {
        grid-column: span 1;
        transform: rotate(1.6deg) translateY(6px);
    }

    .activity-polaroid.card-pos-7 {
        grid-column: span 2;
        transform: rotate(-1.3deg) translateY(0);
    }

    .activity-polaroid.card-pos-8 {
        grid-column: span 1;
        transform: rotate(1.7deg) translateY(-4px);
    }

    .activity-polaroid.card-pos-9 {
        grid-column: span 1;
        transform: rotate(-1.5deg) translateY(8px);
    }

    .activity-polaroid.card-pos-10 {
        grid-column: span 2;
        transform: rotate(1.2deg) translateY(0);
    }

    .card-pos-1 .polaroid-img-box,
    .card-pos-2 .polaroid-img-box,
    .card-pos-6 .polaroid-img-box,
    .card-pos-7 .polaroid-img-box {
        height: 250px;
    }
}

@media (max-width: 600px) {
    .activity-showcase-wrap {
        margin-top: 64px;
        padding-top: 42px;
    }

    .activity-collage-board {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 10px 4px 20px;
    }

    .activity-polaroid.card-pos-1,
    .activity-polaroid.card-pos-2,
    .activity-polaroid.card-pos-3,
    .activity-polaroid.card-pos-4,
    .activity-polaroid.card-pos-5,
    .activity-polaroid.card-pos-6,
    .activity-polaroid.card-pos-7,
    .activity-polaroid.card-pos-8,
    .activity-polaroid.card-pos-9,
    .activity-polaroid.card-pos-10 {
        grid-column: span 1;
    }

    .activity-polaroid.card-pos-1 { transform: rotate(-1.3deg); }
    .activity-polaroid.card-pos-2 { transform: rotate(1.4deg); }
    .activity-polaroid.card-pos-3 { transform: rotate(-1.2deg); }
    .activity-polaroid.card-pos-4 { transform: rotate(1.3deg); }
    .activity-polaroid.card-pos-5 { transform: rotate(-1.1deg); }
    .activity-polaroid.card-pos-6 { transform: rotate(1.3deg); }
    .activity-polaroid.card-pos-7 { transform: rotate(-1.2deg); }
    .activity-polaroid.card-pos-8 { transform: rotate(1.4deg); }
    .activity-polaroid.card-pos-9 { transform: rotate(-1.3deg); }
    .activity-polaroid.card-pos-10 { transform: rotate(1.2deg); }

    .card-pos-1 .polaroid-img-box,
    .card-pos-2 .polaroid-img-box,
    .card-pos-3 .polaroid-img-box,
    .card-pos-4 .polaroid-img-box,
    .card-pos-5 .polaroid-img-box,
    .card-pos-6 .polaroid-img-box,
    .card-pos-7 .polaroid-img-box,
    .card-pos-8 .polaroid-img-box,
    .card-pos-9 .polaroid-img-box,
    .card-pos-10 .polaroid-img-box {
        height: 225px;
    }
}

/* ==========================================================================
   ANIMASI KONTAK ALA APPLE PRO (KINETIC SPLIT, 3D PORTAL RINGS & COMMAND DECK)
   ========================================================================== */
.contact-section {
    position: relative;
    overflow: hidden;
    padding: 110px 0 120px;
}

.contact-portal-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.contact-apple-glow {
    position: absolute;
    top: 34%;
    left: 50%;
    width: 720px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(24, 24, 27, 0.05) 0%, rgba(113, 113, 122, 0.03) 45%, transparent 72%);
    filter: blur(52px);
    transform: translate(-50%, -50%) scale(0.75);
    will-change: transform, opacity;
}

/* Cincin Portal 3D Soft Monochrome yang Berputar Saat Di-scroll */
.portal-ring {
    position: absolute;
    top: 30%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%) perspective(900px) rotateX(64deg) scale(0.7);
    will-change: transform, opacity;
}

.portal-ring.ring-outer {
    width: 760px;
    height: 760px;
    border: 1.5px dashed rgba(24, 24, 27, 0.14);
    box-shadow: none;
}

.portal-ring.ring-inner {
    width: 520px;
    height: 520px;
    border: 1.5px solid rgba(24, 24, 27, 0.1);
    box-shadow: none;
}

.contact-section > .container {
    position: relative;
    z-index: 1;
}

/* Header Kinetic Split-Word Ala Apple Keynote */
.contact-apple-hero {
    text-align: center;
    max-width: 880px;
    margin: 0 auto 62px;
    transform-origin: center center;
    will-change: transform, opacity;
}

.contact-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: var(--radius-pill);
    background: var(--soft-lavender);
    color: var(--text-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    border: 1px solid rgba(24, 24, 27, 0.12);
    margin-bottom: 18px;
    box-shadow: 0 6px 18px rgba(24, 24, 27, 0.06);
}

.status-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #18181B;
    box-shadow: 0 0 0 4px rgba(24, 24, 27, 0.12);
    animation: livePulseDot 2s infinite;
}

[data-theme="dark"] .status-live-dot {
    background: #FAFAFA;
    box-shadow: 0 0 0 4px rgba(250, 250, 250, 0.16);
}

@keyframes livePulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.25); opacity: 0.75; }
}

.contact-kinetic-title {
    --apple-lit-pos: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: clamp(2.25rem, 5.4vw, 4.35rem);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.04em;
    margin-bottom: 18px;
}

.kinetic-line {
    display: block;
    will-change: transform;
}

.kinetic-top {
    color: var(--text-dark);
    opacity: 0.92;
}

.kinetic-bottom.apple-lit-word {
    background: linear-gradient(
        110deg,
        #18181B 0%,
        #52525B 42%,
        #27272A 68%,
        #18181B 95%
    );
    background-size: 220% 100%;
    background-position: var(--apple-lit-pos, 50%) 0%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: none;
}

[data-theme="dark"] .kinetic-bottom.apple-lit-word {
    background: linear-gradient(
        110deg,
        #FAFAFA 0%,
        #A1A1AA 42%,
        #E4E4E7 68%,
        #FAFAFA 95%
    );
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-apple-sub {
    font-size: clamp(0.98rem, 1.35vw, 1.12rem);
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.65;
}

.contact-bento-heading {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

#contactLeftWing,
#contactFormCard {
    will-change: transform, opacity;
}

/* Bento Contact Tiles Ala VisionOS */
.apple-bento-chips {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.bento-chip {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 18px !important;
    border-radius: 18px !important;
    background: var(--card-bg);
    border: 1.5px solid var(--card-border);
    box-shadow: 0 12px 28px rgba(24, 24, 27, 0.05);
}

.bento-chip-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.bento-chip-meta small {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.bento-chip-meta strong {
    font-size: 0.94rem;
    font-weight: 800;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bento-chip-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--soft-lavender);
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.bento-chip:hover .bento-chip-arrow {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    transform: translate(3px, -3px) scale(1.08);
}

/* Apple Command Window Form Card */
.apple-command-card {
    padding: 0 !important;
    overflow: hidden;
    border-radius: 26px !important;
    border: 1.5px solid rgba(24, 24, 27, 0.14) !important;
    box-shadow: 0 24px 56px rgba(24, 24, 27, 0.08);
}

.apple-cmd-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 20px;
    background: linear-gradient(90deg, #18181B 0%, #27272A 100%);
    color: #E4E4E7;
    font-family: var(--font-mono);
    font-size: 0.72rem;
}

.cmd-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.c-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.c-dot.r { background: #52525B; }
.c-dot.y { background: #71717A; }
.c-dot.g { background: #A1A1AA; }

.cmd-title {
    opacity: 0.85;
    font-weight: 600;
}

.cmd-status-tag {
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
    color: #FAFAFA;
    font-size: 0.64rem;
    font-weight: 700;
}

/* Interactive Project Configurator Pills */
.project-config-wrap {
    padding: 18px 26px 6px;
    border-bottom: 1px dashed rgba(24, 24, 27, 0.12);
}

.config-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.config-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.config-pill {
    border: 1px solid rgba(24, 24, 27, 0.14);
    background: var(--soft-lavender);
    color: var(--text-dark);
    font-family: var(--font-main);
    font-size: 0.74rem;
    font-weight: 700;
    padding: 6px 13px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.config-pill:hover {
    transform: translateY(-2px);
    border-color: var(--accent-purple);
}

.config-pill.is-selected {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(24, 24, 27, 0.16);
}

.apple-command-card .contact-form {
    padding: 22px 26px 28px;
}

@keyframes configPulseShock {
    0% { transform: scale(1); }
    45% { transform: scale(1.02) translateY(-3px); box-shadow: 0 28px 60px rgba(24, 24, 27, 0.14); }
    100% { transform: scale(1); }
}

.apple-command-card.is-pulse-config {
    animation: configPulseShock 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Efek Pendaran Form Kontak Saat Sedang Disentuh / Mengetik */
.contact-form-card {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
}

#contact.is-typing-active .contact-form-card,
.contact-form-card:hover {
    border-color: rgba(24, 24, 27, 0.28) !important;
    box-shadow: 0 28px 60px rgba(24, 24, 27, 0.1),
                0 0 0 3px rgba(24, 24, 27, 0.05);
}

/* Efek Sentuh / Hover pada Kartu Chip Kontak (Email, WA, IG, Lokasi) */
.contact-chip:hover {
    transform: translateY(-4px) scale(1.025) !important;
    border-color: rgba(24, 24, 27, 0.28);
    box-shadow: 0 14px 28px rgba(24, 24, 27, 0.08);
}

.contact-chip:active {
    transform: scale(0.97) !important;
}

.contact-chip:hover .chip-icon {
    transform: scale(1.15) rotate(-8deg);
    background: var(--gradient-primary);
    color: var(--bg-primary);
}

.chip-icon {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.3s ease,
                color 0.3s ease;
}

/* ==========================================================================
   EKAWAHYU-PORTOFOLIO FULL ANIMATED TOPOGRAPHY BACKGROUND, GLYPH PORTAL ("I"),
   3D Z-SPACE FLOATING TUNNEL & NAVBAR WALKING MASCOT
   ========================================================================== */

/* 1. GLOBAL WEBGL + MARCHING-SQUARES TOPOGRAPHIC CONTOUR BACKGROUND (WHITE BY DEFAULT) */
.ek-global-topography-bg {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: #ffffff;
    transition: background-color 0.35s ease;
}

html[data-theme="dark"] .ek-global-topography-bg {
    background: #050510;
}

.ek-ambient-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.ek-orb-1 {
    top: -12%;
    left: -8%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(24, 24, 27, 0.04) 0%, rgba(24, 24, 27, 0) 70%);
    filter: blur(80px);
}

.ek-orb-2 {
    top: 36%;
    right: -10%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(63, 63, 70, 0.04) 0%, rgba(63, 63, 70, 0) 70%);
    filter: blur(90px);
}

.ek-orb-3 {
    bottom: -14%;
    left: 24%;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(82, 82, 91, 0.035) 0%, rgba(82, 82, 91, 0) 70%);
    filter: blur(85px);
}

/* Pastikan seluruh section website transparan di atas kanvas topografi putih animasi */
body.ekawahyu-theme {
    background-color: #ffffff !important;
}

html[data-theme="dark"] body.ekawahyu-theme {
    background-color: #050510 !important;
}

body.ekawahyu-theme .ambient-bg {
    opacity: 0.18;
}

body.ekawahyu-theme main,
body.ekawahyu-theme .hero-section,
body.ekawahyu-theme .about-section,
body.ekawahyu-theme .skills-section,
body.ekawahyu-theme .projects-section,
body.ekawahyu-theme .contact-section {
    background: transparent !important;
    position: relative;
    z-index: 2;
}

body.ekawahyu-theme .hero-wave,
body.ekawahyu-theme .footer-wave {
    opacity: 0.14;
}

body.ekawahyu-theme .footer {
    background: rgba(255, 255, 255, 0.84) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: relative;
    z-index: 2;
}

html[data-theme="dark"] body.ekawahyu-theme .footer {
    background: rgba(5, 5, 16, 0.78) !important;
}

/* 2. EXACT SVG <clipPath> GLYPH PORTAL ("DOKUMENTASI" -> HURUF "I" TANPA KOTAK ABU-ABU) */
.doc-portal-section {
    position: relative;
    z-index: 4;
    background: transparent !important;
}

.doc-zoom-runway {
    position: relative;
    width: 100%;
    height: 270vh !important;
    background: #050510 !important;
}

.doc-zoom-sticky {
    background: #050510 !important;
    overflow: hidden;
}

.doc-portal-dark-topo-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: #050510;
}

.gp-portal-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    user-select: none;
    z-index: 3;
}

.gp-interactive-hitboxes {
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: auto;
}

.gp-char-hitbox {
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    outline: none;
}

.gp-bottom-cue {
    position: absolute;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    z-index: 7;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.68);
    border: 1px solid rgba(148, 163, 184, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.78);
    pointer-events: none;
    white-space: nowrap;
}

.gp-cue-line {
    width: 24px;
    height: 1px;
    background: rgba(148, 163, 184, 0.45);
}

/* Stage Putih (#ffffff) dengan Topografi Terang Setelah Masuk ke Dalam Huruf "I" */
.doc-gallery-reveal-wrap {
    position: relative;
    z-index: 20;
    margin-top: -100vh;
    padding: 72px 0 110px !important;
    background: #ffffff !important;
    color: #09090b;
    overflow-x: clip;
    transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.doc-light-topo-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: #ffffff;
}

.doc-gallery-reveal-wrap > .container {
    position: relative;
    z-index: 2;
}

/* 3. TATA LETAK FOTO DOKUMENTASI BENTO RAPI, LURUS & ANIMASI SMOOTH */
.activity-collage-board {
    display: grid !important;
    grid-template-columns: repeat(12, 1fr) !important;
    gap: 24px !important;
    align-items: stretch !important;
    padding: 12px 0 36px !important;
}

.activity-polaroid .polaroid-tape {
    display: none !important;
}

.activity-polaroid {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(148, 163, 184, 0.24) !important;
    border-radius: 20px !important;
    padding: 12px 12px 18px !important;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07),
                0 3px 10px rgba(15, 23, 42, 0.04) !important;
    opacity: 0;
    transform: translate3d(0, 32px, 0) scale(0.97) !important;
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s ease,
                border-color 0.35s ease !important;
}

/* Posisi Bento Grid Rapi & Sejajar (Tanpa Miring Berantakan) */
.activity-polaroid.card-pos-1 { grid-column: span 7 !important; }
.activity-polaroid.card-pos-2 { grid-column: span 5 !important; }
.activity-polaroid.card-pos-3 { grid-column: span 4 !important; }
.activity-polaroid.card-pos-4 { grid-column: span 4 !important; }
.activity-polaroid.card-pos-5 { grid-column: span 4 !important; }
.activity-polaroid.card-pos-6 { grid-column: span 5 !important; }
.activity-polaroid.card-pos-7 { grid-column: span 7 !important; }
.activity-polaroid.card-pos-8 { grid-column: span 4 !important; }
.activity-polaroid.card-pos-9 { grid-column: span 4 !important; }
.activity-polaroid.card-pos-10 { grid-column: span 4 !important; }

.doc-gallery-reveal-wrap.is-revealed .activity-polaroid,
.activity-polaroid.is-card-visible {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) scale(1) !important;
}

.activity-polaroid:hover,
.activity-polaroid.is-focused-polaroid {
    transform: translate3d(0, -8px, 0) scale(1.018) !important;
    border-color: rgba(24, 24, 27, 0.45) !important;
    box-shadow: 0 24px 52px rgba(24, 24, 27, 0.14),
                0 8px 20px rgba(24, 24, 27, 0.07) !important;
    z-index: 10 !important;
}

@media (max-width: 992px) {
    .activity-polaroid.card-pos-1,
    .activity-polaroid.card-pos-2,
    .activity-polaroid.card-pos-3,
    .activity-polaroid.card-pos-4,
    .activity-polaroid.card-pos-5,
    .activity-polaroid.card-pos-6,
    .activity-polaroid.card-pos-7,
    .activity-polaroid.card-pos-8,
    .activity-polaroid.card-pos-9,
    .activity-polaroid.card-pos-10 {
        grid-column: span 6 !important;
    }
}

@media (max-width: 600px) {
    .activity-polaroid.card-pos-1,
    .activity-polaroid.card-pos-2,
    .activity-polaroid.card-pos-3,
    .activity-polaroid.card-pos-4,
    .activity-polaroid.card-pos-5,
    .activity-polaroid.card-pos-6,
    .activity-polaroid.card-pos-7,
    .activity-polaroid.card-pos-8,
    .activity-polaroid.card-pos-9,
    .activity-polaroid.card-pos-10 {
        grid-column: span 12 !important;
    }
}

/* ==========================================================================
   3. EKAWAHYU 3D GLASS FOLDERS (.gf-root) + HORIZONTAL SIDE-BY-SIDE PORTFOLIO
      (Exact Port from decoded_DqEEpkFk.js & decoded_KBaaddEt.js)
   ========================================================================== */
.dual-folder-showcase {
    display: block !important;
    width: 100%;
    margin: 0 auto;
}

.ek-glass-folders-stage {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ek-glass-folders-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 54px;
    padding: 36px 0 18px;
    width: 100%;
}

.ek-gf-item-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.ek-gf-click-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(24, 24, 27, 0.16);
    box-shadow: 0 8px 24px rgba(24, 24, 27, 0.06);
    font-family: var(--font-main);
    font-size: 0.78rem;
    font-weight: 700;
    color: #18181b;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.ek-gf-click-pill:hover,
.ek-gf-item-wrap.is-active-folder .ek-gf-click-pill {
    background: #18181b;
    color: #ffffff;
    border-color: #18181b;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(24, 24, 27, 0.22);
}

.ek-gf-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #18181b;
    box-shadow: 0 0 8px rgba(24, 24, 27, 0.35);
}

.ek-gf-click-pill:hover .ek-gf-dot,
.ek-gf-item-wrap.is-active-folder .ek-gf-dot {
    background: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.85);
}

/* Exact .gf-root CSS from decoded_DqEEpkFk.js */
.gf-root {
    --gf-px: 0;
    --gf-py: 0;
    --gf-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --gf-spring: cubic-bezier(0.22, 1, 0.36, 1);
    --gf-hinge: 0deg;
    --gf-lift: 42px;
    --gf-spread: 0px;
    --gf-fan: 0deg;
    --gf-stack: 15px;
    --gf-ink: #141416;
    --gf-ink-soft: rgba(20, 20, 22, 0.55);
    position: relative;
    display: inline-block;
    flex: none;
    vertical-align: top;
    font-family: var(--font-main), system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    isolation: isolate;
}

.gf-root[data-tone="dark"] {
    --gf-ink: #f5f5f7;
    --gf-ink-soft: rgba(245, 245, 247, 0.62);
}

.gf-root:hover,
.gf-root:focus-within {
    --gf-hinge: -11deg;
    --gf-lift: -34px;
    --gf-spread: 8px;
    --gf-fan: 1.4deg;
    --gf-stack: 10px;
}

.gf-root[data-open] {
    --gf-hinge: -24deg;
    --gf-lift: -96px;
    --gf-spread: 40px;
    --gf-fan: 5deg;
    --gf-stack: 30px;
}

.gf-stage {
    position: absolute;
    left: 0;
    top: 0;
    width: 340px;
    height: 272px;
    transform-origin: 0 0;
}

.gf-tilt {
    position: absolute;
    inset: 0;
    transform: none;
    transition: transform 0.18s linear;
}

.gf-root:hover .gf-tilt {
    transform: perspective(1400px) rotateX(calc(var(--gf-py) * -3deg)) rotateY(calc(var(--gf-px) * 4deg));
}

.gf-shadow {
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: -18px;
    height: 84px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(16, 18, 24, 0.32) 0%, rgba(16, 18, 24, 0) 72%);
    transform: translateX(calc(var(--gf-px) * -6px));
    transition: opacity 0.9s var(--gf-ease);
    pointer-events: none;
}

.gf-back {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(36, 39, 48, 0.94) 0%, rgba(15, 17, 23, 0.98) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 18px rgba(0, 0, 0, 0.5);
}

.gf-art {
    position: absolute;
    left: -12px;
    top: -12px;
    width: 364px;
    height: 296px;
    max-width: none;
    object-fit: cover;
    transform: translate(calc(var(--gf-px) * -7px), calc(var(--gf-py) * -6px)) scale(1.02);
    transition: transform 1.1s var(--gf-ease), opacity 1.2s var(--gf-ease);
}

.gf-back-sheen {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 24%),
        radial-gradient(120% 80% at 80% 0%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 60%);
    pointer-events: none;
}

.gf-rim {
    position: absolute;
    left: 0;
    top: 0;
    max-width: none;
    overflow: visible;
    pointer-events: none;
    fill: none;
}

.gf-back-rim {
    width: 340px;
    height: 272px;
}

.gf-back-rim path {
    stroke: rgba(255, 255, 255, 0.24);
    stroke-width: 1.5;
}

.gf-files {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    clip-path: inset(-130px -36px 10px -36px);
}

.gf-sheet-slot {
    display: contents;
}

.gf-sheet {
    all: unset;
    box-sizing: border-box;
    position: absolute;
    left: 34px;
    top: 96px;
    width: 272px;
    height: 184px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    pointer-events: auto;
    background: #1a1a1d;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 0 0 0.5px rgba(255, 255, 255, 0.1),
        0 12px 28px -8px rgba(0, 0, 0, 0.72);
    transform-origin: 50% 100%;
    transform:
        translate(
            calc(var(--gf-jx) + var(--gf-slot) * var(--gf-spread)),
            calc(var(--gf-lift) + var(--gf-depth) * var(--gf-stack) * -1)
        )
        rotate(calc(var(--gf-jr) + var(--gf-slot) * var(--gf-fan)));
    transition:
        transform 0.75s var(--gf-spring) calc(var(--gf-depth) * 40ms),
        box-shadow 0.4s var(--gf-ease),
        opacity 0.9s var(--gf-ease);
}

.gf-root[data-open] .gf-sheet:hover {
    transform:
        translate(
            calc(var(--gf-jx) + var(--gf-slot) * var(--gf-spread)),
            calc(var(--gf-lift) + var(--gf-depth) * var(--gf-stack) * -1 - 18px)
        )
        rotate(calc(var(--gf-slot) * var(--gf-fan) * 0.6));
}

.gf-sheet-art {
    position: absolute;
    left: 0;
    top: 0;
    width: 272px;
    height: 184px;
    max-width: none;
    object-fit: cover;
}

.gf-sheet--art::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(9, 9, 11, 0.58) 0%, rgba(9, 9, 11, 0.08) 45%, rgba(9, 9, 11, 0.25) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    pointer-events: none;
}

.gf-sheet-head {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 11px;
    z-index: 2;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    white-space: nowrap;
}

.gf-sheet-name {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12.5px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.gf-sheet-meta {
    flex: none;
    font-family: var(--font-mono);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.86);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.gf-front {
    position: absolute;
    left: 0;
    top: 74px;
    width: 340px;
    height: 198px;
    z-index: 10;
    transform-origin: 50% 100%;
    transform: none;
    transition: transform 0.8s var(--gf-spring), opacity 1s var(--gf-ease);
}

.gf-root:hover .gf-front,
.gf-root:focus-within .gf-front,
.gf-root[data-open] .gf-front {
    transform: perspective(760px) rotateX(var(--gf-hinge));
}

.gf-tint {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(36, 40, 50, 0.84) 0%, rgba(19, 21, 28, 0.93) 48%, rgba(10, 11, 15, 0.98) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.gf-spec {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        260px 200px at calc(50% + var(--gf-px) * 46%) calc(30% + var(--gf-py) * 40%),
        rgba(255, 255, 255, 0.16),
        rgba(255, 255, 255, 0) 70%
    );
    pointer-events: none;
}

.gf-front-rim {
    width: 340px;
    height: 198px;
    opacity: 0.62;
}

.gf-front-rim path {
    stroke-width: 2.4;
}

.gf-hit {
    all: unset;
    position: absolute;
    inset: 0;
    z-index: 1;
    cursor: pointer;
}

.gf-label {
    position: absolute;
    left: 28px;
    bottom: 28px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width: 200px;
    pointer-events: none;
}

.gf-meta {
    font-family: var(--font-main);
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.gf-title {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.78);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.gf-key {
    all: unset;
    box-sizing: border-box;
    position: absolute;
    right: 22px;
    bottom: 22px;
    z-index: 12;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: #f5f5f7;
    background: linear-gradient(180deg, rgba(46, 46, 52, 0.92) 0%, rgba(28, 28, 32, 0.94) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 10px 18px -8px rgba(0, 0, 0, 0.6);
    transition: transform 0.35s var(--gf-spring), box-shadow 0.35s var(--gf-ease), background 0.35s var(--gf-ease);
}

.gf-key:hover {
    transform: translateY(-2px) scale(1.04);
    background: linear-gradient(180deg, #f4f4f5 0%, #e4e4e7 100%);
    color: #18181b;
}

.gf-glyph {
    display: block;
    width: 30px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
}

/* ==========================================================================
   FULL-VIEWPORT STICKY HORIZONTAL PORTFOLIO STAGE + IN-PAGE PAGE TRANSITION
   (Exact port of decoded_KBaaddEt.js #Portofolio-Gallery & Page Transition)
   ========================================================================== */

/* ==========================================================================
   FULL-SCREEN INTERACTIVE PORTFOLIO STAGE (Opens ONLY when 3D Glass Folder is clicked!)
   ========================================================================== */
.ek-portfolio-modal-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
}

.ek-portfolio-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.ek-portfolio-modal-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.96);
    box-sizing: border-box;
    padding: 24px 0 20px;
    overflow: hidden;
    transform: translateY(16px) scale(0.985);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ek-portfolio-modal-overlay.is-open .ek-portfolio-modal-container {
    transform: translateY(0) scale(1);
}

.ek-modal-locked {
    overflow: hidden !important;
}

/* Close button in modal top bar */
.ek-close-stage-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 9999px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: #ffffff;
    color: #1e293b;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.ek-close-stage-btn:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16);
}

.ek-glass-folders-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
    color: #64748b;
    font-size: 0.92rem;
    text-align: center;
}

.ek-gf-hint-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
}

/* Global Full-Screen Page Transition Portal (triggered when clicking a 3D Glass Folder) */
.ek-global-page-portal {
    position: fixed;
    inset: 0;
    z-index: 9990;
    pointer-events: none;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ek-gpp-layer {
    position: absolute;
    inset: 0;
    transform: translate3d(0, 102%, 0);
    will-change: transform;
}

.ek-gpp-layer-1 {
    background: linear-gradient(135deg, #18181b 0%, #27272a 50%, #3f3f46 100%);
}

.ek-gpp-layer-2 {
    background: #ffffff;
    border-top: 2px solid #18181b;
}

.ek-gpp-content {
    position: relative;
    z-index: 3;
    text-align: center;
    opacity: 0;
    transform: translateY(18px) scale(0.95);
}

.ek-gpp-kicker {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(24, 24, 27, 0.08);
    color: #18181b;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin-bottom: 10px;
}

.ek-gpp-title {
    font-family: var(--font-main);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #18181b;
    letter-spacing: -0.03em;
    margin: 0;
}

.ek-global-page-portal.is-active .ek-gpp-layer-1 {
    animation: ekPortalWipe1 0.78s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.ek-global-page-portal.is-active .ek-gpp-layer-2 {
    animation: ekPortalWipe2 0.78s cubic-bezier(0.76, 0, 0.24, 1) 0.06s forwards;
}

.ek-global-page-portal.is-active .ek-gpp-content {
    animation: ekPortalTextPop 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.08s forwards;
}

@keyframes ekPortalWipe1 {
    0% { transform: translate3d(0, 102%, 0); }
    42% { transform: translate3d(0, 0%, 0); }
    58% { transform: translate3d(0, 0%, 0); }
    100% { transform: translate3d(0, -102%, 0); }
}

@keyframes ekPortalWipe2 {
    0% { transform: translate3d(0, 102%, 0); }
    40% { transform: translate3d(0, 0%, 0); }
    60% { transform: translate3d(0, 0%, 0); }
    100% { transform: translate3d(0, -102%, 0); }
}

@keyframes ekPortalTextPop {
    0% { opacity: 0; transform: translateY(20px) scale(0.94); }
    38% { opacity: 1; transform: translateY(0) scale(1); }
    65% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-20px) scale(1.03); }
}

/* In-Page Transition Curtain & Badge inside Sticky Stage (when switching Tabs) */
.ek-inpage-transition-overlay {
    position: absolute;
    inset: 0;
    z-index: 45;
    pointer-events: none;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ek-inpage-transition-Curtain {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(24, 24, 27, 0.08) 35%,
        rgba(255, 255, 255, 0.94) 50%,
        rgba(24, 24, 27, 0.08) 65%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translate3d(-110%, 0, 0);
    opacity: 0;
}

.ek-inpage-transition-badge {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 999px;
    background: rgba(24, 24, 27, 0.94);
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 0.86rem;
    font-weight: 700;
    box-shadow: 0 18px 40px rgba(24, 24, 27, 0.22);
    opacity: 0;
    transform: translateY(12px) scale(0.92);
}

.ek-ipt-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #f4f4f5;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.ek-inpage-transition-overlay.is-animating .ek-inpage-transition-Curtain {
    animation: ekInpageCurtainSweep 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ek-inpage-transition-overlay.is-animating .ek-inpage-transition-badge {
    animation: ekInpageBadgePop 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes ekInpageCurtainSweep {
    0% { opacity: 1; transform: translate3d(-105%, 0, 0); }
    50% { opacity: 1; transform: translate3d(0%, 0, 0); }
    100% { opacity: 0; transform: translate3d(105%, 0, 0); }
}

@keyframes ekInpageBadgePop {
    0% { opacity: 0; transform: translateY(14px) scale(0.9); }
    35% { opacity: 1; transform: translateY(0) scale(1); }
    72% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-10px) scale(0.95); }
}

/* Top Bar Inside Sticky Stage */
.ek-pstage-top {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 64px);
    box-sizing: border-box;
    flex-shrink: 0;
}

.ek-pstage-heading-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.ek-pstage-title-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ek-pstage-page-indicator {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #52525b;
    text-transform: uppercase;
}

.ek-pstage-title {
    font-family: var(--font-main);
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    font-weight: 800;
    color: #18181b;
    letter-spacing: -0.025em;
    margin: 0;
    line-height: 1.15;
}

/* White Pill Segmented Tab Bar with Sliding Soft-Black Glider */
.ek-htabs-pillbar {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(228, 228, 231, 0.95);
    box-shadow:
        0 14px 34px rgba(24, 24, 27, 0.07),
        0 2px 8px rgba(24, 24, 27, 0.04);
}

.ek-htab-active-glider {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 0;
    width: 136px;
    border-radius: 13px;
    background: #18181b;
    box-shadow:
        0 8px 20px rgba(24, 24, 27, 0.24),
        0 2px 6px rgba(24, 24, 27, 0.14);
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    z-index: 1;
}

.ek-htab {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 13px;
    border: none;
    background: transparent;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 700;
    color: #52525b;
    cursor: pointer;
    transition: color 0.28s ease, transform 0.2s ease;
}

.ek-htab:hover {
    color: #18181b;
}

.ek-htab.is-active {
    color: #ffffff;
}

.ek-htab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    background: rgba(24, 24, 27, 0.08);
    color: inherit;
    transition: background-color 0.28s ease, color 0.28s ease;
}

.ek-htab.is-active .ek-htab-badge {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.ek-hdrawer-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ek-back-folders-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 15px;
    border-radius: 12px;
    border: 1px solid #e4e4e7;
    background: #ffffff;
    font-family: var(--font-main);
    font-size: 0.8rem;
    font-weight: 700;
    color: #3f3f46;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: all 0.22s ease;
}

.ek-back-folders-btn:hover {
    border-color: #18181b;
    color: #18181b;
    background: #f4f4f5;
    transform: translateY(-1px);
}

.ek-hnav-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ek-hnav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #18181b;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(24, 24, 27, 0.22);
    transition: transform 0.22s ease, background-color 0.22s ease;
}

.ek-hnav-btn:hover {
    background: #3f3f46;
    transform: scale(1.07);
}

.ek-hnav-btn:active {
    transform: scale(0.95);
}

/* Middle Horizontal Stage Viewport & Page-Flip Transition */
.ek-pstage-middle {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    overflow: hidden;
    perspective: 1400px;
}

.ek-pstage-middle.is-page-flipping-right .ek-htrack-viewport {
    animation: ekPageFlipFromRight 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.ek-pstage-middle.is-page-flipping-left .ek-htrack-viewport {
    animation: ekPageFlipFromLeft 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes ekPageFlipFromRight {
    0% {
        opacity: 0;
        transform: translate3d(96px, 0, -60px) rotateY(-8deg) scale(0.95);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotateY(0deg) scale(1);
        filter: blur(0px);
    }
}

@keyframes ekPageFlipFromLeft {
    0% {
        opacity: 0;
        transform: translate3d(-96px, 0, -60px) rotateY(8deg) scale(0.95);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotateY(0deg) scale(1);
        filter: blur(0px);
    }
}

.ek-htrack-viewport {
    position: relative;
    width: 100%;
    overflow: visible;
    padding: 12px clamp(24px, 6vw, 96px);
    box-sizing: border-box;
}

/* Floating Left / Right Circular Soft-Black Arrows */
.ek-hfloating-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.85);
    z-index: 30;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: #18181b;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(24, 24, 27, 0.28);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.28s ease,
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.2s ease;
}

.ek-hfloating-arrow.is-left {
    left: clamp(14px, 2.5vw, 36px);
}

.ek-hfloating-arrow.is-right {
    right: clamp(14px, 2.5vw, 36px);
}

.ek-hfloating-arrow.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
}

.ek-hfloating-arrow:hover {
    background: #3f3f46;
    transform: translateY(-50%) scale(1.08);
}

.ek-htrack {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 28px;
    width: max-content;
    will-change: transform;
}

/* Card Item Inside Horizontal Track */
.ek-hcard {
    width: clamp(305px, 80vw, 420px);
    flex-shrink: 0;
    opacity: 0;
    transform: translate3d(calc(var(--page-dir, 1) * 56px), 12px, 0) scale(0.95);
    transition:
        opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--card-idx, 0) * 45ms),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--card-idx, 0) * 45ms);
}

.ek-hcard.is-entered {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.ek-hcard-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(228, 228, 231, 0.95);
    padding: 18px;
    box-shadow:
        0 16px 38px rgba(15, 23, 42, 0.06),
        0 3px 10px rgba(15, 23, 42, 0.04);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease, border-color 0.32s ease;
}

.ek-hcard-inner:hover {
    transform: translateY(-6px);
    border-color: rgba(24, 24, 27, 0.38);
    box-shadow:
        0 24px 52px rgba(24, 24, 27, 0.13),
        0 6px 16px rgba(24, 24, 27, 0.06);
}

/* Project Card Media */
.ek-hcard-media {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #f4f4f5;
    border: 1px solid rgba(228, 228, 231, 0.8);
    cursor: pointer;
}

.ek-hcard-browser {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #18181b;
    color: #a1a1aa;
    font-family: var(--font-mono);
    font-size: 0.68rem;
}

.ek-hcard-browser .b-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.ek-hcard-browser .b-dot.r { background: #ef4444; }
.ek-hcard-browser .b-dot.y { background: #f59e0b; }
.ek-hcard-browser .b-dot.g { background: #22c55e; }
.ek-hcard-browser .b-url {
    margin-left: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ek-hcard-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9.2;
    overflow: hidden;
    background: #0f172a;
}

.ek-hcard-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ek-hcard-inner:hover .ek-hcard-img-wrap img {
    transform: scale(1.06);
}

.ek-hcard-tech-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.84);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
}

.ek-hcard-body {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    gap: 8px;
}

.ek-hcard-title {
    font-family: var(--font-main);
    font-size: 1.08rem;
    font-weight: 800;
    color: #18181b;
    letter-spacing: -0.015em;
    line-height: 1.3;
    margin: 0;
}

.ek-hcard-desc {
    font-size: 0.84rem;
    line-height: 1.55;
    color: #52525b;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ek-hcard-actions {
    padding-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.ek-btn-details {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 12px;
    border: none;
    background: #18181b;
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(24, 24, 27, 0.2);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.ek-btn-details:hover {
    background: #3f3f46;
    transform: scale(1.03);
}

.ek-btn-livedemo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 15px;
    border-radius: 12px;
    background: #f4f4f5;
    color: #18181b;
    border: 1px solid #e4e4e7;
    font-family: var(--font-main);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.ek-btn-livedemo:hover {
    background: #e4e4e7;
    transform: scale(1.03);
}

/* Certificate Card Specifics */
.ek-hcert-preview {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #f4f4f5;
    aspect-ratio: 4 / 2.85;
    cursor: pointer;
}

.ek-hcert-img-wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ek-hcert-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ek-hcard-inner:hover .ek-hcert-img-wrap img {
    transform: scale(1.05);
}

.ek-hcert-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.ek-hcert-preview:hover .ek-hcert-hover-overlay {
    opacity: 1;
}

.ek-hcert-view-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 12px;
    background: #18181b;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    transform: translateY(8px);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.ek-hcert-preview:hover .ek-hcert-view-pill {
    transform: translateY(0);
}

.ek-hcert-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.74rem;
}

.ek-hcert-issuer {
    font-weight: 700;
    color: #27272a;
}

.ek-hcert-code {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: #71717a;
    background: #f4f4f5;
    padding: 2px 8px;
    border-radius: 6px;
}

/* Bottom Progress Bar & Page Counter inside Sticky Stage */
.ek-pstage-bottom {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 64px);
    box-sizing: border-box;
    flex-shrink: 0;
}

.ek-hprogress-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.ek-hprogress-label {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 600;
    color: #64748b;
}

.ek-hprogress-pct {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 800;
    color: #18181b;
}

.ek-hprogress-bar-wrap {
    height: 6px;
    border-radius: 999px;
    background: #e4e4e7;
    overflow: hidden;
}

.ek-hprogress-bar {
    height: 100%;
    width: 10%;
    border-radius: 999px;
    background: linear-gradient(90deg, #18181b 0%, #52525b 100%);
    transition: width 0.12s ease-out;
}

@media (max-width: 768px) {
    .ek-glass-folders-row {
        gap: 32px;
    }
    .ek-portfolio-sticky-stage {
        padding: 74px 0 18px;
    }
    .ek-pstage-heading-row {
        gap: 10px;
    }
    .ek-hprogress-label {
        font-size: 0.66rem;
    }
    .ek-hfloating-arrow {
        width: 42px;
        height: 42px;
    }
}

/* 4. NAVBAR WALKING / SLEEPING MASCOT & PORTAL LIGHT THEME ADAPTATION */
.ek-nav-mascot {
    position: absolute;
    top: -14px;
    left: 0;
    width: 24px;
    height: 20px;
    pointer-events: none;
    z-index: 30;
    will-change: transform;
}

.ek-mascot-svg {
    width: 24px;
    height: 20px;
    display: block;
    filter: drop-shadow(0 3px 6px rgba(24, 24, 27, 0.22));
}

.ek-mascot-zzz {
    position: absolute;
    top: -12px;
    right: -10px;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    color: #52525b;
    opacity: 0;
    transition: opacity 0.25s ease;
    animation: ekMascotFloatZ 1.8s ease-in-out infinite alternate;
}

.ek-mascot-zzz.is-sleeping {
    opacity: 1;
}

@keyframes ekMascotFloatZ {
    0% { transform: translateY(0) scale(0.92); }
    100% { transform: translateY(-5px) scale(1.08); }
}

.navbar.is-light-portal-nav {
    background: rgba(250, 250, 250, 0.86) !important;
    border-bottom-color: rgba(9, 9, 11, 0.08) !important;
}

.navbar.is-light-portal-nav .brand-text,
.navbar.is-light-portal-nav .nav-link {
    color: #18181b !important;
}

.navbar.is-light-portal-nav .nav-list {
    background: rgba(9, 9, 11, 0.05) !important;
    border-color: rgba(9, 9, 11, 0.1) !important;
}

/* ==========================================================================
   5. EKAWAHYU SUNSET & BUSHES PARALLAX HERO SECTION (decoded_BYiQBtNC.js)
   ========================================================================== */
.ek-hero-parallax-section {
    position: relative;
    width: 100%;
    height: 175vh;
    background: #030712 !important;
    z-index: 5;
}

@media (max-width: 767px) {
    .ek-hero-parallax-section {
        height: 160svh;
    }
}

.ek-hero-parallax-visuals {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    overflow: clip;
    user-select: none;
    -webkit-user-select: none;
    background: #030712;
}

.ek-hero-parallax-visuals.is-fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 5 !important;
}

.ek-hero-parallax-visuals.is-bottom {
    position: absolute !important;
    bottom: 0 !important;
    top: auto !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
}

.ek-hero-parallax-layers {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    overflow: clip;
}

.ek-parallax-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    will-change: transform, opacity;
}

.ek-layer-1 {
    z-index: 5;
    transform-origin: center bottom;
}

.ek-layer-2 {
    z-index: 10;
    transform-origin: center bottom;
}

.ek-layer-3-title {
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    pointer-events: none;
    user-select: none;
    opacity: 0;
    transform-origin: center center;
}

.ek-layer-4 {
    z-index: 30;
    transform-origin: center bottom;
}

.ek-layer-canopy {
    z-index: 40;
    pointer-events: none;
    transform-origin: center 42%;
}

.ek-layer-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ek-parallax-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: none;
}

.ek-img-layer-1 {
    object-position: center 22%;
}

.ek-img-layer-2 {
    object-position: center 52%;
}

.ek-img-layer-4 {
    object-position: center 32%;
}

.ek-img-canopy {
    object-position: center bottom;
}

@media (max-width: 767px) {
    .ek-img-layer-2 {
        transform: scale(1.12);
        transform-origin: center 26%;
    }
    .ek-img-layer-4 {
        transform: scale(1.22);
        transform-origin: center 18%;
    }
}

.ek-layer-bottom-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 80px;
    background: linear-gradient(to top, #030712, transparent);
    pointer-events: none;
}

.ek-fade-tall {
    height: 112px;
}

.ek-layer-underspill {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 40vh;
    background: #030712;
    pointer-events: none;
}

.ek-underspill-tall {
    height: 68vh;
}

.ek-title-wrap {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    text-align: center;
    transform: translateY(-24px);
}

.ek-hero-title {
    font-family: var(--font-heading, 'Space Grotesk', system-ui, sans-serif);
    font-size: clamp(2rem, 7.2vw, 5.6rem);
    font-weight: 900;
    letter-spacing: -0.025em;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.08;
    margin: 0;
    text-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

.ek-title-line {
    display: block;
    white-space: nowrap;
}

.ek-title-accent {
    margin-top: 4px;
}

.ek-parallax-bottom-vignette {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 170px;
    background: linear-gradient(to top, #030712 0%, rgba(3, 7, 18, 0.9) 52%, transparent 100%);
    pointer-events: none;
    z-index: 35;
}

/* ==========================================================================
   ANIME MASCOT ON FLOATING NAVBAR (Exact Port of decoded_B4ex_1wX.js)
   ========================================================================== */
.anime-mascot {
    position: absolute;
    top: -46px;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
    filter: drop-shadow(0 3px 6px rgba(15, 23, 42, 0.18));
    transition: transform 0.12s cubic-bezier(0.22, 1, 0.36, 1);
}

.mascot-scaler {
    position: relative;
    width: 48px;
    height: 48px;
    transform: translateX(-50%) scale(0.92);
    transform-origin: bottom center;
}

@media (min-width: 768px) {
    .mascot-scaler {
        transform: translateX(-50%) scale(1);
    }
}

.mascot-ghost {
    position: relative;
    width: 100%;
    height: 100%;
    animation: mascotBob 2.4s ease-in-out infinite;
}

.mascot-body {
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 38px;
    height: 38px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: inset 0 -2px 4px rgba(15, 23, 42, 0.08);
}

.mascot-eye {
    position: absolute;
    top: 40%;
    width: 6.5px;
    height: 6.5px;
    background: #0f172a;
    border-radius: 50%;
    animation: mascotBlink 3.8s ease-in-out infinite;
}

.mascot-eye-left {
    left: 25%;
}

.mascot-eye-right {
    right: 25%;
}

.mascot-blush {
    position: absolute;
    top: 55%;
    width: 7px;
    height: 4.5px;
    background: #f472b6;
    opacity: 0.65;
    border-radius: 9999px;
}

.mascot-blush-left {
    left: 15%;
}

.mascot-blush-right {
    right: 15%;
}

.mascot-mouth {
    position: absolute;
    top: 58%;
    left: 32%;
    width: 14px;
    height: 7px;
    border-bottom: 2.2px solid #0f172a;
    border-radius: 50%;
}

.mascot-tail {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    animation: mascotTailWiggle 1.4s ease-in-out infinite alternate;
}

.mascot-tail-diamond {
    width: 100%;
    height: 100%;
    background: #ffffff;
    transform: rotate(45deg);
    border-radius: 2px;
}

@keyframes mascotBob {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@keyframes mascotBlink {
    0%, 94%, 98%, 100% {
        transform: scaleY(1);
    }
    96% {
        transform: scaleY(0.15);
    }
}

@keyframes mascotTailWiggle {
    0% {
        transform: translateX(-50%) rotate(-6deg);
    }
    100% {
        transform: translateX(-50%) rotate(6deg);
    }
}

.anime-mascot.is-excited .mascot-ghost {
    animation: mascotExcited 0.5s ease-in-out;
}

@keyframes mascotExcited {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.12);
    }
}

/* ==========================================================================
   EKAWAHYU 3D FLOATING PERSPECTIVE GALLERY (decoded_D0EbkKc2.js)
   ========================================================================== */
.ek-3d-floating-gallery-section {
    position: relative;
    width: 100%;
    height: 240vh;
    background: transparent;
    user-select: none;
    -webkit-user-select: none;
}

.ek-3d-gallery-sticky {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ek-3d-gallery-header {
    position: absolute;
    top: 2rem;
    left: 1rem;
    right: 1rem;
    z-index: 30;
    pointer-events: none;
    text-align: center;
}

.ek-3d-stage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.ek-3d-cards-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ek-3d-card-slot {
    position: absolute;
    left: 50%;
    top: 50%;
    aspect-ratio: 4 / 5;
    will-change: transform, opacity;
    user-select: none;
    -webkit-user-select: none;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.ek-3d-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.ek-3d-card-slot:hover .ek-3d-card-inner {
    transform: scale(1.05);
    box-shadow: 0 20px 35px -5px rgba(15, 23, 42, 0.22), 0 12px 16px -8px rgba(15, 23, 42, 0.14);
}

.ek-3d-card-media {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ek-3d-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.ek-3d-card-slot:hover .ek-3d-card-media img {
    transform: scale(1.08);
}

.ek-3d-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.35) 45%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    color: #ffffff;
    pointer-events: none;
}

.ek-3d-card-badge {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    background: rgba(37, 99, 235, 0.85);
    backdrop-filter: blur(4px);
    margin-bottom: 0.4rem;
}

.ek-3d-card-title {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.ek-3d-bottom-cue {
    position: absolute;
    bottom: 2rem;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.ek-3d-cue-line {
    width: 1px;
    height: 20px;
    background: #cbd5e1;
}
