:root {
    --primary: #1A73E8; /* Biru Solid */
    --secondary: #FFB300; /* Kuning/Oranye */
    --bg-main: #FFFFFF; /* Putih murni */
    --bg-alt: #F8FAFC; /* Putih abu-abu sangat terang */
    --dark: #0F172A; /* Tetap ada untuk teks/footer */
    --text-main: #334155; /* Teks abu-abu gelap */
    --text-muted: #64748B; /* Teks abu-abu medium */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.bg-dark-alt {
    background-color: var(--bg-alt);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-main);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.enterprise-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--glass-border);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.loader-text {
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header & Navbar */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
}

.brand-accent {
    color: var(--primary);
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-btn-cta {
    background: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    border: 1px solid var(--primary);
    color: var(--white) !important;
    font-weight: 500;
}

.nav-btn-cta:hover {
    background: #1a62c8;
    color: var(--white) !important;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

/* Light Mode Cards */
.glass-effect, .glass-card {
    background: var(--bg-alt);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background-color: var(--bg-alt);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='199' viewBox='0 0 100 199'%3E%3Cg fill='%23F0F4F8' fill-opacity='0.4'%3E%3Cpath d='M0 199V0h1v1.99L100 199h-1.12L1 4.22V199H0zM100 2h-.12l-1-2H100v2z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -15%;
    width: 60%;
    height: 120%;
    background-color: var(--primary);
    border-radius: 45%;
    transform: rotate(-30deg);
    z-index: 0;
    opacity: 0.1;
    filter: blur(80px);
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -15%;
    width: 50%;
    height: 50%;
    background-color: var(--secondary);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.15;
    filter: blur(100px);
}

.hero-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.4rem 1rem;
    background: rgba(26, 115, 232, 0.1);
    border: 1px solid rgba(26, 115, 232, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark);
}

.typing-wrapper {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.typing-target {
    color: var(--dark);
}

.cursor {
    color: var(--primary);
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background: #1a62c8;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.2);
}

.btn-secondary {
    background: var(--bg-alt);
    color: var(--primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--white);
    border-color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.profile-card-wrapper {
    padding: 1rem;
    position: relative;
    background: var(--bg-main);
}

.profile-img-container {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

.profile-img-container img {
    width: 100%;
    height: auto;
    display: block;
    filter: none;
    transition: var(--transition);
}

.profile-img-container:hover img {
    transform: scale(1.05);
}

.img-placeholder-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    padding: 0.75rem;
    border-radius: 4px;
    border: 1px solid var(--glass-border);
    font-size: 0.85rem;
    text-align: center;
    color: var(--primary);
    font-weight: 500;
}

/* Section Header Generic */
.section-header {
    margin-bottom: 4rem;
}

.section-subtitle {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
}

.header-line {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* About Section */
.about-grid {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-text-content {
    text-align: center;
    width: 100%;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-weight: 400;
    text-align: center;
}

.about-text-content p:not(.lead-text) {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-highlights {
    border-left: none;
    border-top: 3px solid var(--primary);
    padding-left: 0;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    align-items: center;
    text-align: center;
    width: 100%;
}

.highlight-item {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.highlight-item strong {
    color: var(--dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    padding: 2rem;
    text-align: center;
    background: var(--bg-main);
}

.stat-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.07);
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: inline-block;
}

.stat-plus {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Professional Expertise Section */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.expertise-card {
    padding: 2.5rem 2rem;
    background: var(--bg-main);
}

.expertise-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.07);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.expertise-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.expertise-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.expertise-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.expertise-tags li {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: rgba(26, 115, 232, 0.1);
    color: var(--primary);
    border-radius: 4px;
    font-weight: 500;
}

/* Career Timeline Section */
.vertical-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.vertical-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8px;
    height: 100%;
    width: 2px;
    background: var(--glass-border);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 60px;
}

.timeline-dot {
    position: absolute;
    top: 5px;
    left: 0;
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(26, 115, 232, 0.3);
}

.timeline-date {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-content {
    padding: 2rem;
    background: var(--bg-main);
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: var(--dark);
}

.timeline-content h4 {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style-type: disc;
    padding-left: 1.2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Tech Stack Section */
.tech-section {
    position: relative;
    overflow: hidden;
}

.floating-tech-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-around;
    align-content: space-around;
    opacity: 0.08;
    pointer-events: none;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-muted);
    z-index: 1;
}

.relative-z {
    position: relative;
    z-index: 2;
}

.tech-foreground-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-category {
    padding: 2rem;
    background: var(--bg-main);
}

.tech-category h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.tech-category p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.contact-info {
    padding: 3rem;
    background: var(--dark);
    color: var(--bg-alt);
    border-radius: 12px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.contact-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.contact-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.contact-links li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--bg-alt);
    font-size: 0.95rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.contact-form-wrapper {
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-alt);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Footer */
.site-footer {
    background: var(--dark);
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-sub {
    color: var(--primary);
}