* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: 0 !important;
}

:root {
    --primary-yellow: #f1ea39;
    --bg-black: #0a0a0a;
    --bg-dark: #1a1a1a;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --border-color: #333333;
}

body {
    font-family: 'Fira Code', monospace;
    background-color: var(--bg-black);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Binary Animation Background */
.binary-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.binary-bg span {
    position: absolute;
    display: block;
    font-size: 20px;
    color: rgba(241, 234, 57, 0.3);
    font-family: 'Courier New', monospace;
    font-weight: bold;
    animation: floatUp 25s linear infinite;
    bottom: -150px;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
    }
}

/* Generate 50 binary positions */
.binary-bg span:nth-child(1) { left: 2%; animation-delay: 0s; animation-duration: 20s; }
.binary-bg span:nth-child(2) { left: 6%; animation-delay: 1s; animation-duration: 25s; }
.binary-bg span:nth-child(3) { left: 10%; animation-delay: 2s; animation-duration: 22s; }
.binary-bg span:nth-child(4) { left: 14%; animation-delay: 0.5s; animation-duration: 28s; }
.binary-bg span:nth-child(5) { left: 18%; animation-delay: 1.5s; animation-duration: 24s; }
.binary-bg span:nth-child(6) { left: 22%; animation-delay: 3s; animation-duration: 26s; }
.binary-bg span:nth-child(7) { left: 26%; animation-delay: 0.8s; animation-duration: 23s; }
.binary-bg span:nth-child(8) { left: 30%; animation-delay: 2.5s; animation-duration: 27s; }
.binary-bg span:nth-child(9) { left: 34%; animation-delay: 1.2s; animation-duration: 21s; }
.binary-bg span:nth-child(10) { left: 38%; animation-delay: 3.5s; animation-duration: 29s; }
.binary-bg span:nth-child(11) { left: 42%; animation-delay: 0.3s; animation-duration: 25s; }
.binary-bg span:nth-child(12) { left: 46%; animation-delay: 2.8s; animation-duration: 22s; }
.binary-bg span:nth-child(13) { left: 50%; animation-delay: 1.8s; animation-duration: 26s; }
.binary-bg span:nth-child(14) { left: 54%; animation-delay: 3.2s; animation-duration: 24s; }
.binary-bg span:nth-child(15) { left: 58%; animation-delay: 0.6s; animation-duration: 28s; }
.binary-bg span:nth-child(16) { left: 62%; animation-delay: 2.2s; animation-duration: 23s; }
.binary-bg span:nth-child(17) { left: 66%; animation-delay: 1.5s; animation-duration: 27s; }
.binary-bg span:nth-child(18) { left: 70%; animation-delay: 3.8s; animation-duration: 25s; }
.binary-bg span:nth-child(19) { left: 74%; animation-delay: 0.9s; animation-duration: 21s; }
.binary-bg span:nth-child(20) { left: 78%; animation-delay: 2.6s; animation-duration: 29s; }
.binary-bg span:nth-child(21) { left: 82%; animation-delay: 1.3s; animation-duration: 24s; }
.binary-bg span:nth-child(22) { left: 86%; animation-delay: 3.5s; animation-duration: 26s; }
.binary-bg span:nth-child(23) { left: 90%; animation-delay: 0.7s; animation-duration: 22s; }
.binary-bg span:nth-child(24) { left: 94%; animation-delay: 2.9s; animation-duration: 28s; }
.binary-bg span:nth-child(25) { left: 98%; animation-delay: 1.6s; animation-duration: 23s; }
.binary-bg span:nth-child(26) { left: 4%; animation-delay: 3.3s; animation-duration: 27s; }
.binary-bg span:nth-child(27) { left: 8%; animation-delay: 0.4s; animation-duration: 25s; }
.binary-bg span:nth-child(28) { left: 12%; animation-delay: 2.7s; animation-duration: 21s; }
.binary-bg span:nth-child(29) { left: 16%; animation-delay: 1.9s; animation-duration: 29s; }
.binary-bg span:nth-child(30) { left: 20%; animation-delay: 3.6s; animation-duration: 24s; }
.binary-bg span:nth-child(31) { left: 24%; animation-delay: 0.2s; animation-duration: 26s; }
.binary-bg span:nth-child(32) { left: 28%; animation-delay: 2.4s; animation-duration: 22s; }
.binary-bg span:nth-child(33) { left: 32%; animation-delay: 1.7s; animation-duration: 28s; }
.binary-bg span:nth-child(34) { left: 36%; animation-delay: 3.9s; animation-duration: 23s; }
.binary-bg span:nth-child(35) { left: 40%; animation-delay: 0.5s; animation-duration: 27s; }
.binary-bg span:nth-child(36) { left: 44%; animation-delay: 2.3s; animation-duration: 25s; }
.binary-bg span:nth-child(37) { left: 48%; animation-delay: 1.4s; animation-duration: 21s; }
.binary-bg span:nth-child(38) { left: 52%; animation-delay: 3.7s; animation-duration: 29s; }
.binary-bg span:nth-child(39) { left: 56%; animation-delay: 0.8s; animation-duration: 24s; }
.binary-bg span:nth-child(40) { left: 60%; animation-delay: 2.5s; animation-duration: 26s; }
.binary-bg span:nth-child(41) { left: 64%; animation-delay: 1.6s; animation-duration: 22s; }
.binary-bg span:nth-child(42) { left: 68%; animation-delay: 3.4s; animation-duration: 28s; }
.binary-bg span:nth-child(43) { left: 72%; animation-delay: 0.3s; animation-duration: 23s; }
.binary-bg span:nth-child(44) { left: 76%; animation-delay: 2.8s; animation-duration: 27s; }
.binary-bg span:nth-child(45) { left: 80%; animation-delay: 1.5s; animation-duration: 25s; }
.binary-bg span:nth-child(46) { left: 84%; animation-delay: 3.6s; animation-duration: 21s; }
.binary-bg span:nth-child(47) { left: 88%; animation-delay: 0.6s; animation-duration: 29s; }
.binary-bg span:nth-child(48) { left: 92%; animation-delay: 2.9s; animation-duration: 24s; }
.binary-bg span:nth-child(49) { left: 96%; animation-delay: 1.8s; animation-duration: 26s; }
.binary-bg span:nth-child(50) { left: 5%; animation-delay: 3.2s; animation-duration: 22s; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    transition: width 0.3s;
}

.nav-link:hover {
    color: var(--primary-yellow);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-yellow);
    margin: 3px 0;
    transition: 0.3s;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    padding-top: 80px;
}

.hero-container {
    text-align: center;
}

.profile-img-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
}

.profile-img {
    width: 100%;
    height: 100%;
    border: 4px solid var(--primary-yellow);
    object-fit: cover;
    box-shadow: 0 0 30px rgba(241, 234, 57, 0.3);
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-yellow);
    animation: scan 3s linear infinite;
    opacity: 0.6;
}

@keyframes scan {
    0% {
        top: 0;
    }
    100% {
        top: 100%;
    }
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    font-family: 'Space Mono', monospace;
}

.terminal-prompt {
    color: var(--primary-yellow);
    font-size: 24px;
    display: block;
    margin-bottom: 10px;
}

.typed-text {
    color: var(--text-white);
}

.cursor {
    animation: blink 1s infinite;
    color: var(--primary-yellow);
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-yellow);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-yellow);
    color: var(--bg-black);
    border-color: var(--primary-yellow);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-yellow);
    box-shadow: 0 0 20px rgba(241, 234, 57, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-secondary:hover {
    background: var(--text-white);
    color: var(--bg-black);
}

section {
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

.section-title {
    font-size: 36px;
    margin-bottom: 50px;
    text-align: center;
    font-family: 'Space Mono', monospace;
}

.section-title .terminal-prompt {
    color: var(--primary-yellow);
    font-size: 24px;
    margin-right: 10px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-intro {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary-yellow);
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.about-highlights {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-dark);
    border-left: 3px solid var(--primary-yellow);
}

.highlight-icon {
    font-size: 24px;
}

.cert-section-subtitle {
    text-align: center;
    font-size: 24px;
    color: var(--primary-yellow);
    margin-bottom: 30px;
    margin-top: 60px;
}

.cert-section-subtitle:first-of-type {
    margin-top: 0;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.cert-card {
    background: var(--bg-dark);
    padding: 30px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.cert-card.featured {
    border-color: var(--primary-yellow);
}

.cert-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(241, 234, 57, 0.2);
}

.cert-img-container {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.cert-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s;
}

.cert-card:hover .cert-image {
    transform: scale(1.05);
}

.cert-card h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--primary-yellow);
}

.cert-full {
    font-size: 16px;
    color: var(--text-white);
    margin-bottom: 10px;
}

.cert-org {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 5px;
}

.cert-date {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.cert-badge {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary-yellow);
    color: var(--bg-black);
    font-size: 12px;
    font-weight: 600;
    margin-top: 15px;
}

.cert-list {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.cert-list-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-dark);
    border-left: 3px solid var(--primary-yellow);
    transition: all 0.3s;
}

.cert-list-item:hover {
    background: #222;
    transform: translateX(10px);
}

.cert-year {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-yellow);
    min-width: 60px;
}

.cert-details {
    flex: 1;
}

.cert-details h4 {
    font-size: 16px;
    color: var(--text-white);
    margin-bottom: 5px;
}

.cert-details .cert-org {
    font-size: 13px;
    color: var(--text-gray);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 50px;
}

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-yellow);
    border: 3px solid var(--bg-black);
    z-index: 2;
}

.timeline-date {
    font-size: 14px;
    color: var(--primary-yellow);
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.timeline-company {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.timeline-desc {
    list-style: none;
    padding-left: 0;
}

.timeline-desc li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
    color: var(--text-gray);
}

.timeline-desc li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--primary-yellow);
    font-size: 20px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.skill-category {
    background: var(--bg-dark);
    padding: 30px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.skill-category:hover {
    border-color: var(--primary-yellow);
    box-shadow: 0 5px 20px rgba(241, 234, 57, 0.1);
}

.skill-category h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-yellow);
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    padding: 8px 15px;
    background: var(--bg-black);
    border: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-white);
    transition: all 0.3s;
    cursor: pointer;
}

.skill-tag:hover {
    background: var(--primary-yellow);
    color: var(--bg-black);
    border-color: var(--primary-yellow);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-intro {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    text-decoration: none;
    color: var(--text-white);
    transition: all 0.3s;
}

.contact-item:hover {
    border-color: var(--primary-yellow);
    background: var(--bg-black);
    transform: translateX(10px);
}

.contact-item svg {
    color: var(--primary-yellow);
}

.footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 2px solid var(--border-color);
    color: var(--text-gray);
    font-size: 14px;
}

.footer-tagline {
    margin-top: 10px;
    color: var(--primary-yellow);
    font-style: bold;
}

/* OVERRIDE UNTUK PASTIKAN SEMUANYA KOTAK */
img, picture, video, canvas, svg,
button, input, textarea, select,
div, span, a, p,
h1, h2, h3, h4, h5, h6 {
    border-radius: 0 !important;
}

@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    section {
        padding: 60px 0;
    }

    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .terminal-prompt {
        font-size: 16px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .section-title {
        font-size: 24px;
    }

    .cert-section-subtitle {
        font-size: 20px;
    }

    .cert-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cert-card {
        padding: 20px;
    }

    .cert-img-container {
        height: 180px;
    }

    .cert-card h3 {
        font-size: 24px;
    }

    .cert-full {
        font-size: 15px;
    }

    .cert-list {
        grid-template-columns: 1fr;
    }

    .cert-list-item {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }

    .cert-year {
        min-width: auto;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-item {
        padding-left: 40px;
    }

    .timeline-dot {
        left: 1px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    /* Hide binary di mobile untuk performance */
    .binary-bg span:nth-child(n+11) {
        display: none;
    }
}