/* =========================================
   1. HERO LAYOUT & GRADIENT BACKGROUND
   ========================================= */
.tp-hero {
    position: relative; padding: 100px 0 100px;
    min-height: 100vh; display: flex; align-items: center;
    overflow: hidden; 
    /* GRADASI: Putih bersih ke Lilac super pudar */
    background: linear-gradient(135deg, #FFFFFF 0%, #F5F1FB 100%);
}

.hero-glow {
    position: absolute; top: -10%; right: 5%;
    width: 600px; height: 600px;
    /* Glow Lilac yang lebih luas dan soft */
    background: radial-gradient(circle, rgba(226, 211, 244, 0.7) 0%, rgba(0,0,0,0) 60%);
    border-radius: 50%; z-index: 0; pointer-events: none;
}

.hero-wrapper {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center; position: relative; z-index: 1;
}

/* =========================================
   2. SISI KIRI: COPYWRITING & TOMBOL
   ========================================= */
.tp-status-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 18px; border-radius: 100px; margin-bottom: 24px;
    border: 1px solid var(--tp-border);
    background: rgba(255, 255, 255, 0.9); 
    backdrop-filter: blur(8px); transition: var(--tp-transition); cursor: default;
    box-shadow: 0 4px 10px rgba(226, 211, 244, 0.4);
}

.tp-status-badge:hover {
    border-color: var(--tp-light); background: #FFFFFF;
    transform: translateY(-2px); box-shadow: 0 5px 15px rgba(1, 61, 196, 0.1);
}

/* Titik status pakai Biru Elektrik */
.status-dot {
    width: 8px; height: 8px; background-color: var(--tp-light);
    border-radius: 50%; position: relative; box-shadow: 0 0 8px var(--tp-light); flex-shrink: 0;
}
.status-dot::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    border: 2px solid var(--tp-light); border-radius: 50%;
    animation: pulseCentered 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pulseCentered {
    0% { transform: scale(1); opacity: 1; }
    70% { transform: scale(2.5); opacity: 0; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* Teks status pakai Biru Elektrik */
.status-text { color: var(--tp-light); font-size: 12px !important; font-weight: 800 !important; text-transform: uppercase; letter-spacing: 0.5px; }

.hero-text-block h1 { font-size: 50px; line-height: 1.15; font-weight: 800; margin-bottom: 20px; color: var(--tp-text-main); }

/* EFEK HIGHLIGHT STABILO LILAC DOMINAN */
.hero-text-block h1 span { 
    color: var(--tp-light); /* Teks Biru Elektrik */
    position: relative;
    display: inline-block;
}
.hero-text-block h1 span::after {
    content: ''; position: absolute; left: -4px; bottom: 6px;
    width: calc(100% + 8px); height: 16px; background: var(--tp-green); /* Stabilo Lilac Solid */
    z-index: -1; border-radius: 4px; transform: skewX(-10deg);
}

.hero-text-block p { font-size: 17px; color: var(--tp-text-muted); margin-bottom: 40px; max-width: 95%; line-height: 1.7; }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; }
.btn-group { display: flex; gap: 15px; }

.btn-primary { 
    display: flex; align-items: center; gap: 8px; 
    padding: 12px 24px; background: var(--tp-green); /* Background Lilac */
    color: var(--tp-light) !important; /* Teks Biru */
    border-radius: 6px; font-weight: 600; font-size: 15px; 
    box-shadow: 0 10px 20px rgba(226, 211, 244, 0.8); transition: var(--tp-transition); 
}

.btn-primary-2 { 
    display: flex; align-items: center; gap: 8px; 
    padding: 12px 24px; background: var(--tp-light); /* Background Lilac */
    color: #FFFFFF !important; /* Teks Biru */
    border-radius: 6px; font-weight: 700; font-size: 15px; 
    box-shadow: 0 10px 30px rgba(1, 61, 196, 0.25); transition: var(--tp-transition); 
}

.btn-primary:hover { 
    background: var(--tp-light); color: #FFFFFF !important; /* Dibalik saat hover */
    box-shadow: 0 10px 30px rgba(1, 61, 196, 0.25);
    transform: translateY(-3px); 
}

.btn-primary-2:hover { 
    background: var(--tp-green); color: var(--tp-light) !important; /* Dibalik saat hover */
    box-shadow: 0 10px 20px rgba(226, 211, 244, 0.8);
    transform: translateY(-3px); 
}

.trusted-by { display: flex; align-items: center; gap: 15px; border-left: 2px solid var(--tp-border); padding-left: 10px; }
.avatars { display: flex; }
.avatars img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #FFFFFF; margin-left: -12px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.avatars img:first-child { margin-left: 0; }
.trusted-text { display: flex; flex-direction: column; gap: 2px; }
.trusted-text .stars i { color: #F59E0B; font-size: 14px; } 
.trusted-text span { font-size: 13px; color: var(--tp-text-main); font-weight: 700; }

/* =========================================
   3. SISI KANAN: SHOWCASE STACK (ANIMATED)
   ========================================= */
.hero-right { display: flex; justify-content: center; align-items: center; }

.showcase-stack {
    position: relative; width: 100%; max-width: 450px; height: 500px;
    perspective: 1000px;
}

.stack-backdrop-glow {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 300px; height: 300px; background: var(--tp-green);
    filter: blur(80px); opacity: 0.8; z-index: 0; border-radius: 50%;
    transition: var(--tp-transition);
}
.showcase-stack:hover .stack-backdrop-glow { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }

/* Kartu Latar (Belakang) */
.card-bg {
    position: absolute; top: 30px; right: -5px;
    width: 85%; height: 320px;
    background: rgba(255, 255, 255, 0.8); 
    border: 1px solid rgba(226, 211, 244, 0.8);
    border-radius: 24px; z-index: 1;
    backdrop-filter: blur(12px);
    transform: rotate(6deg) scale(0.95);
    transition: var(--tp-transition);
    box-shadow: 0 10px 30px rgba(226, 211, 244, 0.5);
}
.showcase-stack:hover .card-bg { transform: rotate(15deg) translate(30px, -20px) scale(0.95); box-shadow: 0 15px 40px rgba(1, 61, 196, 0.05); }

.card-bg-header { padding: 15px; display: flex; gap: 8px; border-bottom: 1px solid rgba(226, 211, 244, 0.5); }
.card-bg-header span { width: 10px; height: 10px; border-radius: 50%; background: #E2E8F0; }
.card-bg-header span:nth-child(1) { background: #FF4757; }
.card-bg-header span:nth-child(2) { background: #F59E0B; }
.card-bg-header span:nth-child(3) { background: #10B981; }
.card-bg-body { padding: 30px; display: flex; flex-direction: column; gap: 15px; opacity: 0.8; }
.mockup-line { height: 12px; background: var(--tp-green); border-radius: 6px; opacity: 0.6; } /* Garis kerangka Lilac */
.line-1 { width: 100%; } .line-2 { width: 70%; } .line-3 { width: 40%; }

/* Kartu Utama (Depan) */
.card-main {
    position: absolute; top: 70px; left: 15px;
    width: 90%; background: var(--tp-dark); 
    border: 1px solid var(--tp-border);
    border-radius: 24px; padding: 30px; z-index: 2;
    box-shadow: -5px 15px 35px rgba(226, 211, 244, 0.4); 
    transition: var(--tp-transition);
}
.showcase-stack:hover .card-main { transform: translate(-10px, -10px) scale(1.02); box-shadow: -15px 25px 50px rgba(1, 61, 196, 0.1); }

.profile-header { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; }
.profile-pic { position: relative; }
.profile-pic img { width: 70px; height: 70px; border-radius: 50%; position: relative; z-index: 2; border: 2px solid #FFF;}
/* Cincin Berdenyut warna Biru Elektrik */
.pic-ring {
    position: absolute; top: -4px; left: -4px; right: -4px; bottom: -4px;
    border: 2px solid var(--tp-light); border-radius: 50%; z-index: 1;
    animation: ringPulse 2.5s infinite ease-out;
}
@keyframes ringPulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }

.online-badge {
    position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%);
    background: var(--tp-light); color: #FFF; z-index: 3;
    padding: 4px 10px; border-radius: 20px; font-size: 10px; font-weight: 800;
    display: flex; align-items: center; gap: 3px; white-space: nowrap;
    box-shadow: 0 4px 10px rgba(1, 61, 196, 0.3);
}
.profile-info h3 { font-size: 22px; color: var(--tp-text-main); margin-bottom: 4px; font-weight: 800; }
.profile-info p { font-size: 14px; color: var(--tp-text-muted); font-weight: 600; }

.skills-wrap { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.skills-wrap span {
    background: var(--tp-green); /* Background badge Lilac Solid */
    color: var(--tp-light); /* Teks Biru Elektrik */
    padding: 6px 14px; border-radius: 8px; font-size: 12px; font-weight: 800;
}

.dummy-btn {
    width: 100%; text-align: center; padding: 14px;
    background: var(--tp-green); color: var(--tp-light);
    border-radius: 10px; font-weight: 700; border: none;
    transition: var(--tp-transition); cursor: pointer;
}
.showcase-stack:hover .dummy-btn { background: var(--tp-light); color: #FFF; }

/* =========================================
   4. FLOATING ELEMENTS & ANIMATIONS
   ========================================= */
.float-badge {
    position: absolute; background: rgba(255, 255, 255, 0.95); color: var(--tp-text-main);
    padding: 10px 18px; border-radius: 14px; font-size: 13px; font-weight: 800;
    display: flex; align-items: center; gap: 10px; z-index: 3;
    border: 1px solid var(--tp-border); backdrop-filter: blur(5px);
    box-shadow: 0 10px 25px rgba(226, 211, 244, 0.6);
}
.icon-wrap { background: var(--tp-green); padding: 6px; border-radius: 8px; display: flex; }
.icon-wrap i { color: var(--tp-light); font-size: 16px; }

.badge-1 { top: 30px; left: -20px; animation: floatVertical 4s ease-in-out infinite; }
.badge-2 { bottom: 10px; right: -10px; animation: floatDiagonal 5s ease-in-out infinite reverse; }

/* Kursor Animasi */
.floating-cursor {
    position: absolute; bottom: 30px; left: 60%;
    font-size: 32px; color: var(--tp-text-main);
    z-index: 10; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
    animation: cursorInteract 6s infinite ease-in-out;
}

@keyframes floatVertical { 0% { transform: translateY(0); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0); } }
@keyframes floatDiagonal { 0% { transform: translate(0, 0); } 50% { transform: translate(-10px, -10px); } 100% { transform: translate(0, 0); } }
@keyframes cursorInteract {
    0% { transform: translate(0, 0) scale(1); opacity: 0; }
    20% { transform: translate(-20px, -30px) scale(1); opacity: 1; }
    40% { transform: translate(-40px, -60px) scale(1); }
    45% { transform: translate(-40px, -60px) scale(0.8); }
    50% { transform: translate(-40px, -60px) scale(1); }
    80% { transform: translate(20px, 0px) scale(1); opacity: 1;}
    100% { transform: translate(20px, 0px) scale(1); opacity: 0; }
}

/* =========================================
   5. RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .hero-wrapper { grid-template-columns: 1fr; }
    .hero-text-block { border-left: none; padding-left: 0; text-align: center; }
    .hero-text-block h1 span::after { display: none; }
    .hero-text-block p { margin: 0 auto 30px; }
    
    .hero-actions { justify-content: center; gap: 20px; }
    .btn-group { flex-direction: column; width: 100%; }
    .btn-primary { justify-content: center; width: 100%; }
    .trusted-by { border-left: none; padding-left: 0; border-top: 1px solid var(--tp-border); padding-top: 20px; width: 100%; justify-content: center; }
    
    .showcase-stack { max-width: 100%; height: 450px; margin-top: 20px;}
    .float-badge, .floating-cursor { display: none; }
}