/* ============================================
   CSS DESIGN SYSTEM — PORTFOLIO (DARK THEME)
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Dark Space-Portfolio Color Palette */
    --bg-primary: #030014;
    --bg-secondary: rgba(3, 0, 20, 0.4);
    --bg-card: rgba(15, 10, 36, 0.35);
    --bg-card-hover: rgba(26, 17, 60, 0.5);
    --bg-elevated: rgba(28, 20, 66, 0.65);

    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b80;
    --text-heading: #ffffff;

    --accent: #7042f8;
    --accent-hover: #8b62ff;
    --accent-dim: #5832d4;
    --accent-glow: rgba(112, 66, 248, 0.15);
    --accent-glow-strong: rgba(112, 66, 248, 0.3);
    --gradient-accent: linear-gradient(90deg, #e59cff 0%, #ba9cff 50%, #9cb2ff 100%);

    --border-color: rgba(112, 66, 248, 0.12);
    --border-hover: rgba(112, 66, 248, 0.25);
    --border-accent: rgba(112, 66, 248, 0.38);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-max: 1400px;
    --container-padding: 0 24px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ============================================
   NAVBAR (SPACE PORTFOLIO STYLE)
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 40px;
    background: rgba(3, 0, 20, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(112, 66, 248, 0.15);
    box-shadow: 0 10px 30px rgba(42, 14, 97, 0.15);
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(3, 0, 20, 0.55);
    border-bottom-color: rgba(112, 66, 248, 0.3);
    box-shadow: 0 10px 30px rgba(42, 14, 97, 0.4);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 65px;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-icon {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 28px;
}

.logo-bar {
    display: block;
    width: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.logo-bar:nth-child(1) { height: 12px; }
.logo-bar:nth-child(2) { height: 20px; }
.logo-bar:nth-child(3) { height: 28px; }

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 2px;
    color: var(--text-heading);
}

.logo-sub {
    font-size: 8px;
    letter-spacing: 3px;
    color: #d2c4ff; /* Light lavender for contrast */
    font-weight: 700;
    margin-top: 2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Center Menu: Floating Pill (Desktop) */
.nav-links-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    margin: 0 20px;
}

.nav-links-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(112, 66, 248, 0.38);
    background: rgba(3, 0, 20, 0.37);
    padding: 8px 24px;
    border-radius: var(--radius-full);
}

.nav-links-pill .nav-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    padding: 6px 12px;
    border-radius: var(--radius-full);
}

.nav-links-pill .nav-link:hover {
    color: var(--accent-hover);
    text-shadow: 0 0 8px var(--accent-glow);
}

.nav-links-pill .nav-link.active {
    color: var(--text-heading);
    font-weight: 600;
    text-shadow: 0 0 10px var(--accent-glow-strong);
}

/* Right Menu: Socials + CV (Desktop) */
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-socials {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-social-icon {
    color: var(--text-secondary);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-social-icon:hover {
    color: var(--text-heading);
    transform: translateY(-2px);
    filter: drop-shadow(0 0 8px var(--accent-glow-strong));
}

.nav-right .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    background: var(--accent);
    color: #ffffff;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    letter-spacing: 0.3px;
    border: 1px solid rgba(112, 66, 248, 0.3);
    box-shadow: 0 0 15px rgba(112, 66, 248, 0.2);
}

.nav-right .nav-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 0 20px var(--accent-glow-strong);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Dropdown */
.mobile-menu {
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    background: rgba(3, 0, 20, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(112, 66, 248, 0.25);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: var(--transition-smooth);
    z-index: 999;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    list-style: none;
}

.mobile-nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    color: var(--accent-hover);
}

.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    border-top: 1px solid rgba(112, 66, 248, 0.15);
    padding-top: 20px;
}

.mobile-socials {
    display: flex;
    align-items: center;
    gap: 24px;
}

.mobile-socials .nav-social-icon {
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.mobile-socials .nav-social-icon:hover {
    color: var(--text-heading);
}

/* ============================================
   STARS CANVAS & VIDEO BACKGROUNDS
   ============================================ */
#stars-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    pointer-events: none;
    display: block;
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: -340px;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: rotate(180deg);
    z-index: 1;
    pointer-events: none;
    opacity: 0.55;
    mix-blend-mode: screen;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-scroll-indicator {
    z-index: 2;
}

.skills-section {
    position: relative;
    overflow: hidden;
}

.skills-bg-video-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
}

.skills-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.skills-section .container {
    position: relative;
    z-index: 2;
}


/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 72px;
    background: var(--bg-primary);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -300px;
    right: -300px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(200, 230, 64, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(100, 120, 200, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

/* --- Top-Left Atmospheric Light (Studio Spotlight) --- */
.hero-light-ray {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 130%;
    height: 120%;
    background: linear-gradient(135deg,
            rgba(232, 240, 255, 0.22) 0%,
            rgba(217, 70, 239, 0.14) 20%,
            rgba(6, 182, 212, 0.08) 45%,
            rgba(200, 230, 64, 0.03) 70%,
            transparent 90%);
    clip-path: polygon(0 0, 100% 35%, 100% 80%, 0 20%);
    filter: blur(65px);
    pointer-events: none;
    z-index: 1;
    opacity: 0.85;
    mix-blend-mode: screen;
    animation: raySway 14s ease-in-out infinite alternate;
}

.hero-light-ambient {
    position: absolute;
    top: -25%;
    left: -25%;
    width: 80%;
    height: 90%;
    background: radial-gradient(circle at 25% 25%,
            rgba(217, 70, 239, 0.2) 0%,
            rgba(139, 92, 246, 0.12) 30%,
            rgba(6, 182, 212, 0.05) 60%,
            transparent 80%);
    filter: blur(90px);
    pointer-events: none;
    z-index: 1;
    opacity: 0.9;
    animation: ambientPulse 12s ease-in-out infinite alternate;
}

/* Animations for Top-Left Studio Spotlight */
@keyframes raySway {
    0% {
        transform: rotate(-1deg) scale(0.98);
        opacity: 0.75;
    }

    100% {
        transform: rotate(2deg) scale(1.02);
        opacity: 0.9;
    }
}

@keyframes ambientPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.05);
        opacity: 0.95;
    }
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 40px 24px;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-heading);
    background: rgba(3, 0, 20, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(112, 66, 248, 0.35);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ba9cff;
    box-shadow: 0 0 8px #7042f8;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5.5vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -2px;
    color: var(--text-heading);
}

.glow-name {
    color: var(--text-heading);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.15),
                 0 0 15px rgba(200, 230, 64, 0.2),
                 0 0 25px rgba(200, 230, 64, 0.3);
    transition: text-shadow var(--transition-base), transform var(--transition-base);
    display: inline-block;
    animation: nameGlow 3s ease-in-out infinite alternate;
}

.glow-name:hover {
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.35),
                 0 0 25px rgba(200, 230, 64, 0.5),
                 0 0 45px rgba(200, 230, 64, 0.8),
                 0 0 60px rgba(200, 230, 64, 0.5);
    transform: translateY(-2px);
    cursor: default;
}

@keyframes nameGlow {
    0% {
        text-shadow: 0 0 6px rgba(255, 255, 255, 0.1),
                     0 0 12px rgba(200, 230, 64, 0.15),
                     0 0 20px rgba(200, 230, 64, 0.25);
    }
    100% {
        text-shadow: 0 0 12px rgba(255, 255, 255, 0.25),
                     0 0 22px rgba(200, 230, 64, 0.35),
                     0 0 38px rgba(200, 230, 64, 0.5);
    }
}

.hero-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 480px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    cursor: pointer;
    border: none;
    transition: var(--transition-base);
    letter-spacing: 0.3px;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--accent);
    color: #0a0a0a;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow-strong);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-hover);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Stats */
.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    color: var(--text-heading);
}

.stat-plus {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

/* ============================================
   SPLINE 3D — HERO VISUAL
   ============================================ */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 650px;
    transform: translateX(40px);
    z-index: 1;
}

.spline-wrapper {
    position: relative;
    width: 100%;
    height: 650px;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

#canvas3d {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    transition: opacity 0.8s ease;
}

#canvas3d.loaded {
    opacity: 1;
}

/* Hide Spline watermark globally */
a[href*="spline.design"],
a[href*="spline"],
[class*="spline"] a,
[id*="spline"] a,
#canvas3d+a,
.spline-wrapper a,
.spline-wrapper>div:not(.spline-loader):not(.spline-spinner):not(.spline-watermark-cover) {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    overflow: hidden !important;
}

.spline-watermark-cover {
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 170px !important;
    height: 55px !important;
    background: var(--bg-primary) !important;
    /* Warna latar belakang gelap Hero */
    z-index: 999999 !important;
    /* Berada di atas canvas dan logo apapun */
    pointer-events: auto !important;
    /* Memblokir interaksi mouse ke link di bawahnya */
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.spline-loader {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    z-index: 5;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.spline-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.spline-loader span {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 1px;
}

.spline-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 500;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: scaleY(1);
        opacity: 1;
    }

    50% {
        transform: scaleY(0.5);
        opacity: 0.4;
    }
}

/* ============================================
   SECTION COMMON STYLES
   ============================================ */
.section {
    padding: var(--section-padding);
    position: relative;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.section-alt {
    background: var(--bg-secondary);
}

/* Legacy class kept for compatibility */
.section-dark {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: var(--text-heading);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================
   PENDIDIKAN — TIMELINE
   ============================================ */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), rgba(200, 230, 64, 0.05));
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.3s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.5s;
}

.timeline-marker {
    position: absolute;
    left: -29px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--bg-secondary);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    transition: var(--transition-base);
}

.timeline-content:hover {
    border-color: var(--border-accent);
    transform: translateX(4px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.timeline-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-glow);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-heading);
}

.timeline-place {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.timeline-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.timeline-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* ============================================
   PERJALANAN — JOURNEY CARDS
   ============================================ */
.journey-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.journey-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
}

.journey-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.journey-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--border-accent);
}

.journey-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.journey-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: var(--radius-md);
    color: var(--accent);
}

.journey-period {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.journey-role {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-heading);
}

.journey-company {
    font-size: 14px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
}

.journey-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.journey-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.journey-techs span {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
}

/* ============================================
   KEAHLIAN — SKILLS
   ============================================ */
.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.skills-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition-base);
}

.skills-category:hover {
    border-color: var(--border-accent);
}

.skills-category-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-heading);
}

.skills-category-title svg {
    color: var(--accent);
}

.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    grid-template-rows: auto auto;
    gap: 4px 14px;
    align-items: center;
}

.skill-icon-wrap {
    grid-row: 1 / 3;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: 3px;
}

.skill-icon-wrap img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.skill-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    align-self: end;
}

.skill-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
    align-self: start;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 2px;
    width: 0;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   PROYEK — PROJECT CARDS
   ============================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    border-color: var(--border-accent);
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image-placeholder {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    background: var(--bg-elevated);
    overflow: hidden;
}

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

.project-card:hover .project-image-placeholder {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: var(--transition-base);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent);
    color: #0a0a0a;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.project-link:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

.project-info {
    padding: 24px;
}

.project-info h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-heading);
}

.project-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.project-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-techs span {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
}

.project-featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.project-featured .project-image-placeholder {
    height: 100%;
    min-height: 300px;
}

.project-featured .project-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px;
}

/* ============================================
   KONTAK — CONTACT
   ============================================ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.contact-card:hover {
    border-color: var(--border-accent);
    transform: translateX(4px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: var(--radius-md);
    color: var(--accent);
    flex-shrink: 0;
}

.contact-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--text-heading);
}

.contact-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.social-link:hover {
    color: #0a0a0a;
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 14px;
    transition: var(--transition-base);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    background: var(--accent);
    color: #0a0a0a;
    font-size: 15px;
    padding: 16px 32px;
}

.contact-form .btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 8px 30px var(--accent-glow-strong);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 60px 0 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 360px;
    line-height: 1.7;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-heading);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #0a0a0a;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-base);
    z-index: 999;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 30px var(--accent-glow-strong);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reveal animation class for JS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet & Mobile Navigation */
@media (max-width: 1024px) {
    .nav-links-wrapper, .nav-right {
        display: none !important;
    }

    .nav-toggle {
        display: flex !important;
    }

    .navbar {
        padding: 0 24px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        order: 0;
    }

    .hero-visual {
        display: none !important;
    }

    .hero-tag {
        justify-content: center;
    }

    .hero-tag::before {
        display: none;
    }

    .hero-desc {
        margin: 0 auto 40px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .journey-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .skills-wrapper {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .project-featured .project-image-placeholder {
        min-height: 220px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-desc {
        margin: 16px auto 0;
    }
}

/* Mobile Specific adjustments */
@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .navbar {
        padding: 0 16px;
    }

    .hero-title {
        font-size: clamp(2.4rem, 8vw, 3.5rem);
    }

    .timeline::before {
        left: 3px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .stat {
        align-items: center;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .timeline {
        padding-left: 24px;
    }

    .timeline-content {
        padding: 20px 24px;
    }

    .contact-wrapper {
        gap: 32px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }
}