/* ROOT VARIABLES - SAMA DENGAN ZER0BIN */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #13132a;
    --accent-cyan: #00ffff;
    --accent-purple: #9d4edd;
    --accent-pink: #ff00ff;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    font-size: 14px;
    line-height: 1.5;
}

.font-orbitron { 
    font-family: 'Orbitron', monospace; 
}

/* GLITCH HEADER */
.glitch-header {
    position: relative;
    display: inline-block;
}

.glitch-text {
    font-size: clamp(2rem, 6vw, 2.8rem);
    position: relative;
    text-shadow: 0.03em 0 0 var(--accent-pink), -0.015em -0.03em 0 var(--accent-cyan);
    animation: glitch 2500ms infinite;
}

.glitch-text span {
    position: absolute;
    top: 0;
    left: 0;
}

.glitch-text span:first-child {
    animation: glitch-1 500ms infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    transform: translate(-0.015em, -0.0075em);
    opacity: 0.8;
}

.glitch-text span:last-child {
    animation: glitch-2 500ms infinite;
    clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
    transform: translate(0.0075em, 0.015em);
    opacity: 0.8;
}

@keyframes glitch-1 {
    0% { transform: translate(0); }
    33% { transform: translate(-0.5px, 0.5px); }
    66% { transform: translate(0.5px, -0.5px); }
    100% { transform: translate(0); }
}

@keyframes glitch-2 {
    0% { transform: translate(0); }
    33% { transform: translate(0.5px, -0.5px); }
    66% { transform: translate(-1px, 1px); }
    100% { transform: translate(0); }
}

/* CARD STYLING */
.card {
    background: rgba(19, 19, 42, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(157, 78, 221, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.card:hover {
    border-color: rgba(157, 78, 221, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* BUTTON STYLING */
.btn {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    color: var(--bg-primary);
    font-weight: 600;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(157, 78, 221, 0.4);
}

.btn-secondary {
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: var(--text-primary);
}

.btn-secondary:hover:not(:disabled) {
    background: rgba(148, 163, 184, 0.2);
    border-color: rgba(148, 163, 184, 0.3);
    transform: translateY(-1px);
}

/* NAVIGATION */
.nav-container {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1.5rem 0 2rem 0;
    padding: 0.5rem;
    background: rgba(19, 19, 42, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(157, 78, 221, 0.1);
}

.nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-secondary);
    border: 1px solid transparent;
    white-space: nowrap;
}

.nav-pill.active {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2) 0%, rgba(157, 78, 221, 0.2) 100%);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 255, 255, 0.1);
}

.nav-pill:hover:not(.active) {
    background: rgba(148, 163, 184, 0.2);
    color: var(--text-primary);
    transform: translateY(-1px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    body { font-size: 13px; }
    .btn { padding: 0.5rem 1rem; font-size: 0.8rem; }
    .nav-container {
        padding: 0.3rem;
        margin: 1rem 0 1.5rem 0;
    }
    .nav-pill {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    .card {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        justify-content: stretch;
    }
    .nav-pill {
        flex: 1;
        justify-content: center;
        min-width: 0;
    }
}

/* STATS GRID */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

.stat-title {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-cyan);
    font-family: 'Orbitron', monospace;
}

/* SKILL TAGS */
.skill-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(157, 78, 221, 0.1) 100%);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: var(--text-secondary);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    margin: 0.2rem;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(0, 255, 255, 0.2);
    color: var(--accent-cyan);
    transform: translateY(-1px);
}

/* PROJECT CARD */
.project-card {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 10px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.project-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

.project-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

/* FORM STYLING */
.input-field {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
    transition: all 0.2s ease;
    width: 100%;
    color: var(--text-primary);
}

.input-field:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.1);
    outline: none;
}

textarea.input-field {
    min-height: 120px;
    resize: vertical;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* NOTIFICATION */
.notification {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    backdrop-filter: blur(10px);
    animation: slideIn 0.3s ease;
    border: 1px solid;
    max-width: 400px;
}

.notification.success {
    background: rgba(16, 185, 129, 0.9);
    border-color: rgba(16, 185, 129, 0.3);
    color: white;
}

.notification.error {
    background: rgba(239, 68, 68, 0.9);
    border-color: rgba(239, 68, 68, 0.3);
    color: white;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* HERO SECTION */
.hero-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    padding: 4px;
    margin: 0 auto 1.5rem auto;
}

.hero-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--bg-primary);
}

/* FOOTER */
.footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

/* SOCIAL LINKS */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

/* SCANNER EFFECT */
.scanner-effect {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.05;
    overflow: hidden;
}

.scanner-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    animation: scanner 3s linear infinite;
}

@keyframes scanner {
    0% { top: 0; }
    100% { top: 100%; }
}

/* CONTENT CONTAINER */
.content-container {
    position: relative;
    z-index: 1;
}

/* SECTION HEADER */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* TIMELINE */
.timeline-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.timeline-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
}

.timeline-item:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 12px;
    width: 2px;
    height: calc(100% - 12px);
    background: linear-gradient(180deg, var(--accent-cyan), transparent);
}

.timeline-item:last-child:after {
    display: none;
}

/* PROJECT GRID */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .project-grid {
        grid-template-columns: 1fr;
    }
}

.project-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(157, 78, 221, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
    font-size: 1.5rem;
}

.project-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    display: flex;
    gap: 0.8rem;
}

/* STATS BAR */
.stats-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

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

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 0.3rem;
}

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

/* CONTACT INFO */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(157, 78, 221, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    flex-shrink: 0;
    font-size: 1.2rem;
}

.contact-info-content {
    flex-grow: 1;
}

.contact-info-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-value {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.contact-info-value a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-value a:hover {
    color: var(--accent-purple);
    text-decoration: underline;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* BLOG STYLES */
.blog-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.blog-post-card {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
}

.blog-post-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.blog-post-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.blog-post-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding-top: 0.8rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.category-btn {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-secondary);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.category-btn.active {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2) 0%, rgba(157, 78, 221, 0.2) 100%);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.category-btn:hover:not(.active) {
    background: rgba(148, 163, 184, 0.2);
    color: var(--text-primary);
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--accent-cyan);
    text-decoration: none;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: var(--accent-purple);
    gap: 0.5rem;
}

/* RESUME STYLES */
.resume-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
}

.resume-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    padding: 3px;
    margin-bottom: 1rem;
}

.resume-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--bg-primary);
}

.resume-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-cyan);
}

.download-btn {
    margin-top: 1.5rem;
}