/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: #f4f9fd;
    color: #2c3e50;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Background Blobs */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
    animation: blobFloat 12s infinite alternate ease-in-out;
}
.blob-1 { width: 400px; height: 400px; background: #e3f2fd; top: -100px; right: -50px; }
.blob-2 { width: 500px; height: 500px; background: #bbdefb; bottom: -150px; left: -100px; animation-delay: 2s; }

/* ==========================================================================
   NAVIGASI (NAVBAR)
   ========================================================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 1000;
}
.nav-logo { font-size: 24px; font-weight: 700; color: #1e88e5; }
.nav-logo span { color: #90caf9; }
.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { text-decoration: none; color: #546e7a; font-weight: 500; transition: all 0.3s ease; padding: 8px 16px; border-radius: 20px; }
.nav-links a:hover, .nav-links a.active { color: #1e88e5; background: rgba(30, 136, 229, 0.1); }

/* ==========================================================================
   TATA LETAK UMUM (GLASS CARD)
   ========================================================================== */
.container { flex: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 40px 4%; }
.glass-card { background: rgba(255, 255, 255, 0.65); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 24px; padding: 40px; box-shadow: 0 15px 35px rgba(30, 136, 229, 0.05); }
.section-title { font-size: 28px; color: #1565c0; margin-bottom: 30px; display: flex; align-items: center; gap: 12px; }

/* Tombol */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 30px; font-weight: 600; text-decoration: none; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; }
.btn-primary { background: linear-gradient(135deg, #1e88e5, #1565c0); color: white; border: none; box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(30, 136, 229, 0.4); }
.btn-secondary { background: rgba(255, 255, 255, 0.8); color: #1e88e5; border: 1px solid rgba(30, 136, 229, 0.3); }
.btn-secondary:hover { background: rgba(30, 136, 229, 0.05); transform: translateY(-3px); }
.btn-block { width: 100%; justify-content: center; }

/* ==========================================================================
   BERANDA STYLES
   ========================================================================== */
.hero-split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; min-height: 70vh; }
.badge { display: inline-block; padding: 6px 16px; background: rgba(30, 136, 229, 0.1); color: #1e88e5; border-radius: 20px; font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.hero-text h1 { font-size: 48px; font-weight: 800; line-height: 1.2; color: #1a2530; margin-bottom: 15px; }
.gradient-text { background: linear-gradient(135deg, #1e88e5, #00e5ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.subtitle { font-size: 20px; font-weight: 600; color: #546e7a; margin-bottom: 20px; }
.description { font-size: 16px; line-height: 1.6; color: #627d98; margin-bottom: 35px; }
.hero-cta { display: flex; gap: 15px; }

/* Adegan Animasi Grafis Teknologi */
.hero-graphic { display: flex; justify-content: center; align-items: center; }
.tech-scene { position: relative; width: 300px; height: 300px; display: flex; justify-content: center; align-items: center; }
.tech-core { width: 100px; height: 100px; background: linear-gradient(135deg, #e3f2fd, #ffffff); border: 2px solid #90caf9; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 42px; color: #1e88e5; box-shadow: 0 10px 30px rgba(30, 136, 229, 0.2); z-index: 5; animation: coreFloat 4s infinite ease-in-out; }
.tech-ring { position: absolute; border: 2px dashed rgba(30, 136, 229, 0.3); border-radius: 50%; }
.outer-ring { width: 260px; height: 260px; animation: rotateClockwise 25s infinite linear; }
.inner-ring { width: 180px; height: 180px; animation: rotateCounterClockwise 15s infinite linear; }
.node { position: absolute; width: 45px; height: 45px; background: white; border: 2px solid #1e88e5; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #1e88e5; font-size: 18px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); animation: nodePulse 3s infinite ease-in-out; }
.node-1 { top: 10px; left: 40px; animation-delay: 0s; }
.node-2 { bottom: 50px; right: 20px; animation-delay: 0.5s; }
.node-3 { top: 20%; right: 20px; transform: translateY(-50%); animation-delay: 1s; }

/* ==========================================================================
   TENTANG SAYA STYLES
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: center; margin-bottom: 35px; }
.avatar-area { display: flex; justify-content: center; }
.avatar-wrapper { position: relative; width: 180px; height: 180px; }
.dashed-ring { position: absolute; width: 100%; height: 100%; border: 3px dashed #1e88e5; border-radius: 50%; animation: rotateClockwise 20s infinite linear; }
.avatar-box { position: absolute; width: 150px; height: 150px; background: linear-gradient(135deg, #1e88e5, #90caf9); top: 15px; left: 15px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 64px; color: white; box-shadow: 0 8px 25px rgba(30, 136, 229, 0.2); }
.about-text h3 { font-size: 24px; color: #1a2530; margin-bottom: 15px; }
.about-text p { color: #546e7a; line-height: 1.6; margin-bottom: 20px; }
.info-table { display: grid; grid-template-columns: 1fr; gap: 12px; }
.info-row { padding-bottom: 8px; border-bottom: 1px dashed rgba(0,0,0,0.08); font-size: 15px; color: #2c3e50; }
.info-row span { font-weight: 600; color: #1e88e5; display: inline-block; width: 140px; }
.pulse-card { background: rgba(30, 136, 229, 0.04); border: 1px solid rgba(30, 136, 229, 0.15); border-radius: 16px; padding: 25px; animation: cardPulse 4s infinite ease-in-out; }
.pulse-card h4 { color: #1565c0; font-size: 18px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.pulse-card p { color: #546e7a; line-height: 1.6; font-size: 15px; }

/* ==========================================================================
   KEAHLIAN STYLES
   ========================================================================== */
.skills-header { text-align: center; max-width: 600px; margin: 0 auto 40px auto; }
.skills-header p { color: #546e7a; line-height: 1.5; }
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
.skill-card { text-align: center; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.skill-card:hover { transform: translateY(-10px); background: white; border-color: #1e88e5; box-shadow: 0 20px 40px rgba(30, 136, 229, 0.1); }
.skill-icon { width: 70px; height: 70px; background: rgba(30, 136, 229, 0.08); color: #1e88e5; font-size: 30px; border-radius: 20px; display: inline-flex; justify-content: center; align-items: center; margin-bottom: 20px; transition: all 0.3s ease; }
.skill-card:hover .skill-icon { background: #1e88e5; color: white; transform: scale(1.1); }
.skill-card h3 { font-size: 20px; color: #2c3e50; margin-bottom: 12px; }
.skill-card p { font-size: 14px; color: #627d98; line-height: 1.6; }

/* ==========================================================================
   KONTAK STYLES (LOGO BULAT MINIMALIS)
   ========================================================================== */
.contact-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 35px; }
.contact-form-box h3, .contact-links-box h3 { font-size: 22px; color: #1565c0; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: #546e7a; margin-bottom: 8px; }
.form-group input, .form-group textarea { width: 100%; padding: 14px; border: 1px solid rgba(30, 136, 229, 0.2); background: rgba(255, 255, 255, 0.8); border-radius: 12px; outline: none; color: #2c3e50; font-size: 15px; transition: all 0.3s ease; }
.form-group input:focus, .form-group textarea:focus { border-color: #1e88e5; background: white; box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.1); }
.links-desc { font-size: 14px; color: #627d98; }

/* Row Kontainer Ikon Medsos Bulat */
.social-icon-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* Lingkaran Ikon Global */
.social-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    color: #546e7a;
    font-size: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efek Hover Pop & Glow Warna Masing-Masing Logo */
.social-circle:hover {
    transform: translateY(-8px) scale(1.1);
    color: white;
}
.circle-wa:hover { background: #25d366; box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); border-color: #25d366; }
.circle-ig:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); box-shadow: 0 8px 25px rgba(220, 39, 67, 0.4); border-color: #dc2743; }
.circle-yt:hover { background: #ff0000; box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4); border-color: #ff0000; }
.circle-idn:hover { background: #0c2340; box-shadow: 0 8px 25px rgba(12, 35, 64, 0.4); border-color: #0c2340; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { text-align: center; padding: 25px; background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(10px); border-top: 1px solid rgba(255, 255, 255, 0.4); font-size: 14px; color: #7b8a99; margin-top: auto; }

/* ==========================================================================
   KEYFRAMES ANIMASI
   ========================================================================== */
.fade-in { animation: fadeInAction 1s forwards cubic-bezier(0.4, 0, 0.2, 1); }
.slide-up { opacity: 0; animation: slideUpAction 0.8s forwards cubic-bezier(0.4, 0, 0.2, 1); }

@keyframes fadeInAction { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUpAction { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes blobFloat { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(40px, 30px) scale(1.1); } }
@keyframes coreFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(3deg); } }
@keyframes rotateClockwise { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes rotateCounterClockwise { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }
@keyframes nodePulse { 0%, 100% { transform: scale(1); border-color: #1e88e5; } 50% { transform: scale(1.08); border-color: #00e5ff; box-shadow: 0 4px 20px rgba(30,136,229,0.3); } }
@keyframes cardPulse { 0%, 100% { box-shadow: 0 0 0 rgba(30, 136, 229, 0); } 50% { box-shadow: 0 0 15px rgba(30, 136, 229, 0.15); border-color: rgba(30, 136, 229, 0.3); } }

/* ==========================================================================
   RESPONSIVE LAYOUT (HP & TABLET)
   ========================================================================== */
@media (max-width: 900px) {
    .hero-split, .contact-layout, .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-graphic { order: -1; }
    .navbar { flex-direction: column; gap: 15px; padding: 15px; }
    .hero-text { text-align: center; }
    .hero-text h1 { font-size: 34px; }
    .hero-cta { justify-content: center; }
}