/* ============================================
   BIODATA DOSEN - PROFESSIONAL DESIGN SYSTEM
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Primary Palette - Deep Emerald & Gold Academic Theme */
    --primary-50: #ecfdf5;
    --primary-100: #d1fae5;
    --primary-200: #a7f3d0;
    --primary-300: #6ee7b7;
    --primary-400: #34d399;
    --primary-500: #10b981;
    --primary-600: #059669;
    --primary-700: #047857;
    --primary-800: #065f46;
    --primary-900: #064e3b;

    /* Accent - Warm Gold */
    --accent-400: #fbbf24;
    --accent-500: #f59e0b;
    --accent-600: #d97706;

    /* Neutral */
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;
    --neutral-950: #020617;

    /* Functional */
    --success: #22c55e;
    --warning: #f59e0b;
    --info: #3b82f6;
    --international: #8b5cf6;

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-hover: rgba(255, 255, 255, 0.1);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.15);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --section-gap: 5rem;
    --card-padding: 2rem;
    --container-max: 1200px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);

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

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--neutral-950);
    color: var(--neutral-200);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
    color: var(--primary-300);
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: orbFloat 20s ease-in-out infinite;
}

.bg-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-700), transparent 70%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.bg-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-800), transparent 70%);
    bottom: -150px;
    left: -100px;
    animation-delay: -5s;
    animation-duration: 25s;
}

.bg-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.3), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
    animation-duration: 30s;
}

.bg-orb-4 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--primary-900), transparent 70%);
    top: 30%;
    right: 20%;
    animation-delay: -15s;
    animation-duration: 22s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -30px) scale(1.05); }
    50% { transform: translate(-30px, 50px) scale(0.95); }
    75% { transform: translate(30px, 30px) scale(1.02); }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neutral-100);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--neutral-400);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-400);
    background: rgba(16, 185, 129, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--neutral-300);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--neutral-950), transparent);
    z-index: -1;
}

.hero-content {
    max-width: var(--container-max);
    width: 100%;
    display: flex;
    align-items: center;
    gap: 4rem;
    animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-profile {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.profile-image-wrapper {
    position: relative;
    width: 220px;
    height: 220px;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-full);
    border: 3px solid var(--primary-600);
}

.profile-fallback {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary-700), var(--primary-900));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-200);
    font-family: var(--font-display);
}

.profile-ring {
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    background: conic-gradient(from 0deg, var(--primary-500), var(--accent-500), var(--primary-500)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: ringRotate 8s linear infinite;
}

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

.profile-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--primary-400);
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-info {
    flex: 1;
}

.hero-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-400);
    margin-bottom: 0.75rem;
    padding: 0.3rem 0.8rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 4px;
}

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--neutral-50);
    line-height: 1.15;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--neutral-50), var(--primary-200));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-size: 1.2rem;
    color: var(--neutral-400);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tag {
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-sm);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    font-size: 0.8rem;
    color: var(--neutral-300);
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-400);
    line-height: 1;
    font-family: var(--font-display);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--neutral-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 0.3rem;
    display: block;
}

.scroll-indicator {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounceDown 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--neutral-500);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--neutral-500);
    border-bottom: 2px solid var(--neutral-500);
    transform: rotate(45deg);
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(10px); opacity: 1; }
}

/* ============================================
   MAIN CONTENT & SECTIONS
   ============================================ */
.main-content {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--section-gap) 0;
}

.section-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.section-icon {
    font-size: 2.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-500);
    display: block;
    margin-bottom: 0.25rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--neutral-50);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--neutral-500);
    margin-top: 0.25rem;
}

/* ============================================
   GLASS CARD
   ============================================ */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all var(--transition-slow);
}

.glass-card:hover {
    background: var(--glass-hover);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.card {
    padding: var(--card-padding);
}

/* ============================================
   FADE IN ANIMATION
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   A. IDENTITY SECTION
   ============================================ */
.identity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}

.identity-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-fast);
}

.identity-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(16, 185, 129, 0.2);
}

.identity-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.identity-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--neutral-500);
    margin-bottom: 0.2rem;
}

.identity-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--neutral-100);
}

.highlight-value {
    color: var(--primary-400);
    font-weight: 600;
}

/* ============================================
   B. EDUCATION TIMELINE
   ============================================ */
.education-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    padding-top: 2rem;
}

.timeline-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-dot.completed {
    background: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.timeline-dot.in-progress {
    background: var(--accent-500);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.timeline-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(to bottom, var(--primary-700), transparent);
    margin-top: 8px;
}

.timeline-card {
    flex: 1;
}

.edu-degree {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary-400);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.edu-degree.s3 {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-400);
}

.in-progress-badge {
    font-size: 0.7rem;
    font-weight: 500;
    margin-left: 0.5rem;
    opacity: 0.8;
}

.s3-card {
    border-color: rgba(245, 158, 11, 0.2) !important;
}

.edu-university {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--neutral-100);
    font-weight: 700;
    margin-bottom: 1rem;
}

.edu-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.edu-detail {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.edu-detail-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--neutral-500);
}

.edu-detail-value {
    color: var(--neutral-200);
    font-size: 0.95rem;
}

.edu-thesis {
    font-style: italic;
    color: var(--neutral-300);
    line-height: 1.5;
}

/* ============================================
   FILTER TABS
   ============================================ */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.filter-tab {
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--neutral-400);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-primary);
}

.filter-tab:hover {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-400);
    border-color: rgba(16, 185, 129, 0.3);
}

.filter-tab.active {
    background: var(--primary-600);
    color: white;
    border-color: var(--primary-500);
}

.filter-tab .count {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* ============================================
   C. RESEARCH SECTION
   ============================================ */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1rem;
}

.research-card {
    position: relative;
    overflow: hidden;
}

.research-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-500), var(--primary-700));
    border-radius: 4px 0 0 4px;
}

.research-year {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-400);
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.research-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--neutral-100);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.research-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.research-source {
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
    font-size: 0.75rem;
    font-weight: 600;
}

.research-amount {
    font-weight: 700;
    color: var(--accent-400);
    font-size: 0.9rem;
}

.research-card.hidden-card {
    display: none;
}

/* ============================================
   D. PENGABDIAN
   ============================================ */
.pengabdian-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pengabdian-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.pengabdian-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-800);
    flex-shrink: 0;
    line-height: 1;
    min-width: 60px;
    text-align: center;
}

.pengabdian-content {
    flex: 1;
}

.pengabdian-year-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-400);
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.pengabdian-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--neutral-100);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.pengabdian-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* ============================================
   E. PUBLICATION SECTION - GOOGLE SCHOLAR STYLE
   ============================================ */

/* Section Header Link */
.section-header {
    position: relative;
}

.scholar-link-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(66, 133, 244, 0.12);
    border: 1px solid rgba(66, 133, 244, 0.25);
    color: #8ab4f8;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    margin-left: auto;
    flex-shrink: 0;
    align-self: center;
}

.scholar-link-btn:hover {
    background: rgba(66, 133, 244, 0.2);
    color: #aecbfa;
    transform: translateY(-1px);
}

/* Google Scholar Metrics Bar */
.gs-metrics-bar {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.gs-metrics-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gs-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--neutral-200);
    flex: 1;
}

.gs-profile-link {
    font-size: 0.78rem;
    font-weight: 600;
    color: #8ab4f8;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.gs-profile-link:hover {
    color: #aecbfa;
}

.gs-metrics-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.gs-metric {
    text-align: center;
    min-width: 70px;
}

.gs-metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-400);
    font-family: var(--font-display);
    line-height: 1;
}

.gs-metric-label {
    font-size: 0.68rem;
    color: var(--neutral-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 0.3rem;
    display: block;
}

.gs-metric-divider {
    width: 1px;
    height: 36px;
    background: var(--glass-border);
}

/* Citation Chart */
.gs-citation-chart {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gs-chart-title {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--neutral-500);
    display: block;
    margin-bottom: 0.75rem;
}

.gs-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    height: 100px;
}

.gs-bar-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.gs-bar {
    width: 100%;
    max-width: 60px;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(to top, var(--primary-700), var(--primary-500));
    position: relative;
    min-height: 4px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.gs-bar.highest {
    background: linear-gradient(to top, var(--accent-600), var(--accent-400));
}

.gs-bar::after {
    content: attr(data-value);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--neutral-300);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.gs-bar-group:hover .gs-bar::after {
    opacity: 1;
}

.gs-bar-group:hover .gs-bar {
    filter: brightness(1.2);
}

.gs-bar-label {
    font-size: 0.65rem;
    color: var(--neutral-500);
    font-weight: 600;
}

/* Search & Sort Controls */
.gs-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.gs-search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
    display: flex;
    align-items: center;
}

.gs-search-icon {
    position: absolute;
    left: 14px;
    color: var(--neutral-500);
    pointer-events: none;
}

.gs-search-input {
    width: 100%;
    padding: 0.65rem 1rem 0.65rem 2.75rem;
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--neutral-100);
    font-size: 0.88rem;
    font-family: var(--font-primary);
    outline: none;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
}

.gs-search-input::placeholder {
    color: var(--neutral-600);
}

.gs-search-input:focus {
    border-color: var(--primary-500);
    background: rgba(16, 185, 129, 0.05);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.gs-search-count {
    position: absolute;
    right: 14px;
    font-size: 0.72rem;
    color: var(--neutral-500);
    font-weight: 500;
    pointer-events: none;
}

.gs-sort-controls {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.gs-sort-label {
    font-size: 0.78rem;
    color: var(--neutral-500);
    font-weight: 600;
    margin-right: 0.25rem;
}

.gs-sort-btn {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--neutral-500);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-primary);
}

.gs-sort-btn:hover {
    background: rgba(16, 185, 129, 0.08);
    color: var(--primary-400);
    border-color: rgba(16, 185, 129, 0.25);
}

.gs-sort-btn.active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary-400);
    border-color: rgba(16, 185, 129, 0.3);
}

/* Publication Card - Google Scholar Style */
.gs-publication-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.gs-pub-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-bottom: none;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all var(--transition-fast);
    overflow: hidden;
}

.gs-pub-card:first-child {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.gs-pub-card:last-child {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    border-bottom: 1px solid var(--glass-border);
}

.gs-pub-card:only-child {
    border-radius: var(--radius-lg);
    border-bottom: 1px solid var(--glass-border);
}

.gs-pub-card:hover {
    background: var(--glass-hover);
}

.gs-pub-card.highlighted {
    border-left: 3px solid var(--accent-500);
}

.gs-pub-card.expanded {
    background: rgba(16, 185, 129, 0.04);
    border-color: rgba(16, 185, 129, 0.15);
}

.gs-pub-card.hidden-card {
    display: none;
}

.gs-pub-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.gs-pub-main {
    flex: 1;
    min-width: 0;
}

.gs-pub-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: #8ab4f8;
    line-height: 1.45;
    margin-bottom: 0.25rem;
    transition: color var(--transition-fast);
}

.gs-pub-card:hover .gs-pub-title {
    color: #aecbfa;
}

.gs-pub-authors {
    font-size: 0.78rem;
    color: var(--neutral-400);
    margin-bottom: 0.15rem;
}

.gs-pub-venue {
    font-size: 0.78rem;
    color: var(--neutral-500);
}

.gs-pub-cite-badge {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 2px;
}

.gs-pub-cite-badge.has-citations {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
}

.gs-pub-cite-badge.top-cited {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
}

.gs-cite-count {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--neutral-500);
}

.gs-pub-cite-badge.has-citations .gs-cite-count {
    color: var(--primary-400);
}

.gs-pub-cite-badge.top-cited .gs-cite-count {
    color: var(--accent-400);
}

.gs-pub-chevron {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--neutral-600);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color var(--transition-fast);
    margin-top: 6px;
}

.gs-pub-card.expanded .gs-pub-chevron {
    transform: rotate(180deg);
    color: var(--primary-400);
}

/* Expandable Detail Panel */
.gs-pub-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
    padding: 0 1.5rem;
    border-top: 0 solid transparent;
}

.gs-pub-card.expanded .gs-pub-detail {
    max-height: 300px;
    padding: 0 1.5rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gs-pub-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
    padding-top: 1rem;
}

.gs-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.gs-detail-label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--neutral-600);
}

.gs-detail-value {
    font-size: 0.88rem;
    color: var(--neutral-200);
    font-weight: 500;
}

/* Keep existing pub-level styles */
.pub-level {
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.pub-level.nasional {
    background: rgba(59, 130, 246, 0.12);
    color: var(--info);
}

.pub-level.internasional {
    background: rgba(139, 92, 246, 0.15);
    color: var(--international);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

/* ============================================
   F. CONFERENCE SECTION
   ============================================ */
.conference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1rem;
}

.conference-card {
    position: relative;
}

.conf-year-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary-400);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.conf-year-badge.intl {
    background: rgba(139, 92, 246, 0.15);
    color: var(--international);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.conf-year-badge.intl::after {
    content: ' · International';
    font-size: 0.7rem;
    font-weight: 600;
}

.conf-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--neutral-100);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.conf-event {
    font-size: 0.85rem;
    color: var(--primary-400);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.conf-location {
    font-size: 0.82rem;
    color: var(--neutral-500);
}

/* ============================================
   G. TRAINING SECTION
   ============================================ */
.training-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.training-card {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.training-year {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-600);
    flex-shrink: 0;
    min-width: 80px;
    padding-top: 0.5rem;
}

.training-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.training-item {
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-fast);
}

.training-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(16, 185, 129, 0.15);
}

.training-item h3 {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--neutral-200);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.training-meta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.training-org {
    font-size: 0.8rem;
    color: var(--neutral-400);
}

.training-level {
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.training-level.lokal {
    background: rgba(100, 116, 139, 0.15);
    color: var(--neutral-400);
}

.training-level.nasional {
    background: rgba(59, 130, 246, 0.12);
    color: var(--info);
}

/* ============================================
   CLOSING SECTION
   ============================================ */
.closing-section {
    padding-bottom: 3rem;
}

.closing-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    border-color: rgba(16, 185, 129, 0.2);
}

.closing-text {
    font-size: 0.9rem;
    color: var(--neutral-400);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.closing-text:last-of-type {
    margin-bottom: 2rem;
}

.closing-signature {
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.signature-place {
    font-size: 0.9rem;
    color: var(--neutral-300);
    margin-bottom: 2.5rem;
}

.signature-space {
    width: 180px;
    height: 1px;
    background: var(--glass-border);
    margin: 0 auto 0.75rem;
}

.signature-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--neutral-100);
}

.signature-nip {
    font-size: 0.82rem;
    color: var(--neutral-500);
    margin-top: 0.25rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--glass-border);
    padding: 2rem;
    text-align: center;
}

.footer-content p {
    font-size: 0.85rem;
    color: var(--neutral-500);
}

.footer-sub {
    margin-top: 0.25rem;
    font-size: 0.78rem !important;
    color: var(--neutral-600) !important;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--primary-600);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

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

.back-to-top:hover {
    background: var(--primary-500);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(16, 185, 129, 0.4);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

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

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

    .profile-image-wrapper {
        width: 180px;
        height: 180px;
    }

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

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

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

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(2, 6, 23, 0.95);
        backdrop-filter: blur(20px);
        padding: 1rem;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .publication-stats-bar {
        gap: 1rem;
        padding: 1rem;
    }

    .pub-stat-number {
        font-size: 1.5rem;
    }

    .pengabdian-card {
        flex-direction: column;
        gap: 0.5rem;
    }

    .pengabdian-number {
        font-size: 1.5rem;
    }

    .training-card {
        flex-direction: column;
        gap: 0.75rem;
    }

    .training-year {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    :root {
        --section-gap: 3rem;
        --card-padding: 1.25rem;
    }

    .hero {
        padding: 5rem 1rem 3rem;
    }

    .main-content {
        padding: 0 1rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .stat-item {
        min-width: 60px;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .timeline-item {
        gap: 0.75rem;
    }

    .timeline-marker {
        display: none;
    }

    .filter-tabs {
        gap: 0.35rem;
    }

    .filter-tab {
        padding: 0.35rem 0.85rem;
        font-size: 0.78rem;
    }

    .publication-card {
        gap: 0.75rem;
        padding: 1rem;
    }
}

/* ============================================
   H. WORK & TEACHING EXPERIENCE SECTION
   ============================================ */
.work-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}

.work-card {
    position: relative;
    overflow: hidden;
}

.work-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-500), var(--primary-700));
    border-radius: 4px 0 0 4px;
}

.work-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.work-duration {
    display: inline-block;
    align-self: flex-start;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-400);
    font-weight: 700;
    font-size: 0.8rem;
}

.work-role {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--neutral-100);
    line-height: 1.3;
}

.work-institution {
    font-size: 0.88rem;
    color: var(--neutral-400);
}

/* ============================================
   I. ORGANIZATION SECTION
   ============================================ */
.org-layout {
    max-width: 800px;
    margin: 0 auto;
}

.org-card {
    padding: 2rem;
}

.org-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-400);
    border: 1px solid rgba(245, 158, 11, 0.3);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.org-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-100);
    margin-bottom: 0.5rem;
}

.org-desc {
    font-size: 0.92rem;
    color: var(--neutral-400);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.org-timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.org-timeline-item {
    position: relative;
}

.org-timeline-item::before {
    content: '';
    position: absolute;
    left: calc(-2rem - 6px - 1px);
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--neutral-950);
    border: 2px solid var(--accent-500);
    z-index: 1;
}

.org-timeline-year {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-400);
    display: block;
    margin-bottom: 0.2rem;
}

.org-timeline-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
}

.org-timeline-role {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--neutral-200);
    margin-bottom: 0.15rem;
}

.org-timeline-desc {
    font-size: 0.82rem;
    color: var(--neutral-500);
    line-height: 1.4;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .bg-animation,
    .navbar,
    .scroll-indicator,
    .back-to-top,
    .filter-tabs {
        display: none !important;
    }

    body {
        background: white;
        color: #1a1a1a;
    }

    .glass-card {
        background: white;
        border: 1px solid #e0e0e0;
        backdrop-filter: none;
    }

    .hero-name {
        -webkit-text-fill-color: #1a1a1a;
        background: none;
    }

    .section {
        padding: 1.5rem 0;
        page-break-inside: avoid;
    }

    .fade-in {
        opacity: 1 !important;
        transform: none !important;
    }
}
