:root {
    --bg: #090a0f;
    --card-bg: rgba(18, 20, 29, 0.7);
    --card-border: rgba(255, 255, 255, 0.08);
    --text: #f1f5f9;
    --text-dim: #94a3b8;
    --accent: #6366f1; /* Indigo Accent */
    --accent-glow: rgba(99, 102, 241, 0.25);
    --green: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Ambient Background Glow */
.glow-bg {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Navbar */
.navbar {
    max-width: 900px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--green);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--green);
}

/* Profile Card Header */
.profile-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.avatar-wrapper {
    width: 110px;
    height: 110px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.avatar-img {
    height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

.tag {
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent);
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.profile-info h1 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.accent {
    color: var(--accent);
}

.bio {
    color: var(--text-dim);
    margin: 0.8rem 0 1.2rem;
    font-size: 0.95rem;
}

.social-bar {
    display: flex;
    gap: 0.8rem;
}

.icon-link {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.2s;
}

.icon-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Stats */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.stat-icon {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-val {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

.stat-lbl {
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* Content Sections */
.content-section {
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    color: var(--text);
}

.section-title svg {
    color: var(--accent);
}

/* Skills */
.skills-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: 'JetBrains Mono', monospace;
}

.skill-pill svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.2s, border-color 0.2s;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.project-icon {
    color: var(--accent);
}

.badge-tech {
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.project-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.project-card p {
    color: var(--text-dim);
    font-size: 0.88rem;
    margin-bottom: 1.2rem;
}

.project-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.project-tags span {
    font-size: 0.75rem;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.04);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* Services */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-info h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.service-info p {
    color: var(--text-dim);
    font-size: 0.85rem;
}

.price-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--accent);
    background: rgba(99, 102, 241, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    white-space: nowrap;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-dim);
    font-size: 0.85rem;
    border-top: 1px solid var(--card-border);
    margin-top: 2rem;
}

/* Responsif */
@media (max-width: 600px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .social-bar {
        justify-content: center;
    }

    .service-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
}
